Skip to content

Commit

Permalink
Fix argument to manager.add_archives
Browse files Browse the repository at this point in the history
  • Loading branch information
tw4l committed Apr 24, 2024
1 parent 52c5b84 commit d74c6c2
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tests/test_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit d74c6c2

Please sign in to comment.