File: disable-tls-alpn-test.patch

package info (click to toggle)
python-acme 1.12.0-2%2Bdeb11u1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 700 kB
  • sloc: python: 4,263; makefile: 173
file content (20 lines) | stat: -rw-r--r-- 910 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Description: Disable failing TLS-ALPN-01 test
 Note, no certbot client currently uses the functionality being tested
 here.  Additionally, the tests are related to extremely small key
 sizes that a real user is unlikely to use.
Author: Harlan Lieberman-Berg <hlieberman@debian.org>
Forwarded: not-needed
Index: python-acme/tests/standalone_test.py
===================================================================
--- python-acme.orig/tests/standalone_test.py
+++ python-acme/tests/standalone_test.py
@@ -111,7 +111,8 @@ class HTTP01ServerTest(unittest.TestCase
         self.assertFalse(is_hung, msg='Server shutdown should not be hung')
 
 
-@unittest.skipIf(not challenges.TLSALPN01.is_supported(), "pyOpenSSL too old")
+
+@unittest.skip("Keys used in test are too small; OpenSSL refuses to use them.")
 class TLSALPN01ServerTest(unittest.TestCase):
     """Test for acme.standalone.TLSALPN01Server."""