diff --git a/tests/test_optional_flags_wacz.py b/tests/test_optional_flags_wacz.py index 073e3a3..5ecc714 100644 --- a/tests/test_optional_flags_wacz.py +++ b/tests/test_optional_flags_wacz.py @@ -242,11 +242,12 @@ def test_warc_with_copy_pages(self, mock_now): ) self.assertEqual( - hash_file(wacz_pages), hash_file(os.path.join(PAGES_DIR, "pages.jsonl")) + hash_file("sha256", wacz_pages), + hash_file("sha256", os.path.join(PAGES_DIR, "pages.jsonl")), ) self.assertEqual( - hash_file(wacz_extra_pages), - hash_file(os.path.join(PAGES_DIR, "extraPages.jsonl")), + hash_file("sha256", wacz_extra_pages), + hash_file("sha256", os.path.join(PAGES_DIR, "extraPages.jsonl")), ) @patch("wacz.main.now")