From ccc762bf97b2158c96f14a7c237a16ade5c5a01aebff2a86cb6ecbbadc97d327 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Tue, 5 May 2020 21:34:33 +0000 Subject: [PATCH] Fix SPECS OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pysaml2?expand=0&rev=38 --- python-pysaml2.spec | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/python-pysaml2.spec b/python-pysaml2.spec index 92c2b0d..09f1d7a 100644 --- a/python-pysaml2.spec +++ b/python-pysaml2.spec @@ -89,11 +89,10 @@ done %check # Excluded tests for i586 gh#IdentityPython/pysaml2#682 %ifarch %{ix86} -SKIP_TESTS="-k not (test_assertion_consumer_service or test_swamid_sp or test_swamid_idp or test_other_response or test_mta or test_unknown_subject)" +%pytest -k "not (test_assertion_consumer_service or test_swamid_sp or test_swamid_idp or test_other_response or test_mta or test_unknown_subject)" tests %else -SKIP_TESTS="" +%pytest tests %endif -%pytest $SKIP_TESTS tests %post %python_install_alternative make_metadata.py parse_xsd2.py mdexport.py merge_metadata.py