Debian Codegraph @

debian/patches/remove-time-sensitive-test.patch

raw
1 From: Colin Watson <[email protected]>
2 Date: Mon, 27 Jul 2026 12:55:24 +0100
3 Subject: Remove time-sensitive test code
4
5 The current implementation requires regular updates to
6 test/common/certs/badssl.com.pem, or else it fails when the current time
7 passes the "not after" date of that certificate.
8
9 Last-Update: 2026-07-27
10 ---
11 test/common/test_key.py | 3 ---
12 1 file changed, 3 deletions(-)
13
14 diff --git a/test/common/test_key.py b/test/common/test_key.py
15 index 6ee6dfd..31b6dfc 100644
16 --- a/test/common/test_key.py
17 +++ b/test/common/test_key.py
18 @@ -453,9 +453,6 @@ class TestPublicKeyX509(TestClasses.TestKeyBase): # pylint: disable=too-many-pu
19 None
20 )
21
22 - public_key_x509 = self._get_public_key_x509('badssl.com')
23 - self.assertFalse(public_key_x509.expired)
24 -
25 def test_public_key_pin(self):
26 public_key_x509 = self._get_public_key_x509('expired.badssl.com')
27 self.assertEqual(