Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37907657
en ru br
ALT Linux repos
S:3.3.0-alt3

Group :: Development/Python3
RPM: python3-module-jose

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Patch: jose-fedora-disable-test_key_too_short.patch
Download


--- tests/algorithms/test_EC.py.orig	2020-05-19 13:30:45.751510090 +0800
+++ tests/algorithms/test_EC.py	2020-05-19 13:31:04.910669306 +0800
@@ -113,6 +113,8 @@
         public_pem = key.public_key().to_pem()
         assert ECKey(public_pem, ALGORITHMS.ES256).is_public()
 
+    @pytest.mark.skip('Enable again when this test is fixed in upstream.')
+    # https://github.com/mpdavis/python-jose/issues/176
     @pytest.mark.parametrize("Backend,ExceptionType", _backend_exception_types())
     def test_key_too_short(self, Backend, ExceptionType):
         key = Backend(TOO_SHORT_PRIVATE_KEY, ALGORITHMS.ES512)
 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin