aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin Daudt <kdaudt@alpinelinux.org>2020-05-05 15:33:58 +0000
committerKevin Daudt <kdaudt@alpinelinux.org>2020-05-05 15:33:58 +0000
commit13c73559555aabeb46f6e917c56776aee484ffe4 (patch)
tree4f2cd03a65c7a8634d52b15c9a4bd1149e72f67e
parent2511d0a5a709c80d70a5b50747ceaacc935e11c5 (diff)
downloadaports-13c73559555aabeb46f6e917c56776aee484ffe4.tar.bz2
aports-13c73559555aabeb46f6e917c56776aee484ffe4.tar.xz
: include missing patch
-rw-r--r--community/py3-oscrypto/skip-failing-test-due-to-expired-cert.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/community/py3-oscrypto/skip-failing-test-due-to-expired-cert.patch b/community/py3-oscrypto/skip-failing-test-due-to-expired-cert.patch
new file mode 100644
index 0000000000..021760946c
--- /dev/null
+++ b/community/py3-oscrypto/skip-failing-test-due-to-expired-cert.patch
@@ -0,0 +1,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':