forked from pool/python-pysaml2
Fix SPECS
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pysaml2?expand=0&rev=38
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user