aboutsummaryrefslogblamecommitdiffstats
path: root/community/py3-oscrypto/skip-failing-test-due-to-expired-cert.patch
blob: 021760946c33798d3e432ace077bbb85ee0cecec (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18

















                                                                     
Upstream: yes
Reason: Project tests that it responds properly to a revoked
certificate, but the certificate they test is expired, causing a
different exception. Ticket was created upstream.
Url: https://github.com/wbond/oscrypto/issues/45

diff --git a/tests/test_tls.py b/tests/test_tls.py
index c171724..e4581b4 100644
--- a/tests/test_tls.py
+++ b/tests/test_tls.py
@@ -111,6 +111,7 @@ class TLSTests(unittest.TestCase):
         html = connection.read_until(re.compile(b'</html>', re.I))
         self.assertNotEqual(None, re.search(b'</html>', html, re.I))
 
+    @unittest.skip('Revoked certificate is expired')
     @connection_timeout()
     def test_tls_connect_revoked(self):
         if _backend == 'mac':