From: Colin Watson Date: Mon, 27 Jul 2026 12:55:24 +0100 Subject: Remove time-sensitive test code The current implementation requires regular updates to test/common/certs/badssl.com.pem, or else it fails when the current time passes the "not after" date of that certificate. Last-Update: 2026-07-27 --- test/common/test_key.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/test/common/test_key.py b/test/common/test_key.py index 6ee6dfd..31b6dfc 100644 --- a/test/common/test_key.py +++ b/test/common/test_key.py @@ -453,9 +453,6 @@ class TestPublicKeyX509(TestClasses.TestKeyBase): # pylint: disable=too-many-pu None ) - public_key_x509 = self._get_public_key_x509('badssl.com') - self.assertFalse(public_key_x509.expired) - def test_public_key_pin(self): public_key_x509 = self._get_public_key_x509('expired.badssl.com') self.assertEqual(