From d74c6c2a27d12f998993ff64549d6e90a4e5b055 Mon Sep 17 00:00:00 2001 From: Tessa Walsh Date: Wed, 24 Apr 2024 12:29:18 +0200 Subject: [PATCH] Fix argument to manager.add_archives --- tests/test_manager.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/test_manager.py b/tests/test_manager.py index 6c0abe85..cd34c997 100644 --- a/tests/test_manager.py +++ b/tests/test_manager.py @@ -68,8 +68,7 @@ def test_add_valid_archives_unpack_wacz(self, tmp_path): def test_add_valid_archives_dupe_name(self, tmp_path): manager = self.get_test_collections_manager(tmp_path) warc_filename = 'sample_archive/warcs/example.warc.gz' - manager.add_archives(warc_filename) - manager.add_archives(warc_filename) + manager.add_archives([warc_filename, warc_filename]) with open(os.path.join(manager.indexes_dir, manager.DEF_INDEX_FILE), 'r') as f: index_text = f.read()