@@ -63,14 +63,14 @@ def test_supplementary_file_container(self) -> None:
6363
6464 # Check metadata
6565 self .assertEqual ("application/pdf" , container .get_content_type ("/TestFile.pdf" ))
66- self .assertEqual ("b18229b24a4ee92c6c2b6bc6a8018563b17472f1150d35d5a5945afeb447ed44 " ,
66+ self .assertEqual ("142a0061de1ef5c22137ab05bb6001335596c0fc8693d33fa9b011ceac652342 " ,
6767 container .get_sha256 ("/TestFile.pdf" ).hex ())
6868 self .assertIn ("/TestFile.pdf" , container )
6969
7070 # Check contents
7171 file_content = io .BytesIO ()
7272 container .write_file ("/TestFile.pdf" , file_content )
73- self .assertEqual (hashlib .sha1 (file_content .getvalue ()).hexdigest (), "78450a66f59d74c073bf6858db340090ea72a8b1 " )
73+ self .assertEqual (hashlib .sha1 (file_content .getvalue ()).hexdigest (), "241e62aef8b4cdad0975f6c68a4ed8b3923d8db1 " )
7474
7575 # Add same file again with different content_type to test reference counting
7676 with open (__file__ , 'rb' ) as f :
@@ -391,7 +391,7 @@ def test_writing_reading_example_aas(self) -> None:
391391 file_content = io .BytesIO ()
392392 new_files .write_file ("/TestFile.pdf" , file_content )
393393 self .assertEqual (hashlib .sha1 (file_content .getvalue ()).hexdigest (),
394- "78450a66f59d74c073bf6858db340090ea72a8b1 " )
394+ "241e62aef8b4cdad0975f6c68a4ed8b3923d8db1 " )
395395
396396 os .unlink (filename )
397397
@@ -534,7 +534,7 @@ def test_supplementary_file_integrity(self) -> None:
534534
535535 self .assertEqual (
536536 hashlib .sha1 (buf .getvalue ()).hexdigest (),
537- "78450a66f59d74c073bf6858db340090ea72a8b1 "
537+ "241e62aef8b4cdad0975f6c68a4ed8b3923d8db1 "
538538 )
539539 finally :
540540 os .unlink (filename )
0 commit comments