0006-python-Skip-the-DSA-key-test-unless-SHA-1-is-configu.patch
bindings/python/tests/profiles_tests.py | ||
---|---|---|
276 | 276 | |
277 | 277 |
def test07(self): |
278 | 278 |
'''SAMLv2 SSO with DSA key for the IdP''' |
279 |
default_sign_meth = lasso.getDefaultSignatureMethod() |
|
280 |
if default_sign_meth != lasso.SIGNATURE_METHOD_RSA_SHA1: |
|
281 |
self.skipTest("This test requires that lasso is compiled with SHA1 as the default signature method") |
|
282 | ||
279 | 283 |
sp = lasso.Server( |
280 | 284 |
os.path.join(dataDir, 'sp5-saml2/metadata.xml'), |
281 | 285 |
os.path.join(dataDir, 'sp5-saml2/private-key.pem')) |
282 |
- |