at 24.05-pre 920 B view raw
1diff --git a/tests/test_authenticode.py b/tests/test_authenticode.py 2index 7e2c709..2f27e09 100644 3--- a/tests/test_authenticode.py 4+++ b/tests/test_authenticode.py 5@@ -153,10 +153,12 @@ class AuthenticodeParserTestCase(unittest.TestCase): 6 """this certificate is revoked""" 7 with open(str(root_dir / "test_data" / "jameslth"), "rb") as f: 8 pefile = SignedPEFile(f) 9- pefile.verify() 10+ pefile.verify(verification_context_kwargs= 11+ {'timestamp': datetime.datetime(2021, 1, 1, tzinfo=datetime.timezone.utc)}) 12 13 def test_jameslth_revoked(self): 14 """this certificate is revoked""" 15+ # TODO: this certificate is now expired, so it will not show up as valid anyway 16 with open(str(root_dir / "test_data" / "jameslth"), "rb") as f: 17 pefile = SignedPEFile(f) 18 with self.assertRaises(VerificationError):