14
0

- Skip failing tests on i586 (gh#IdentityPython/pysaml2#682)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pysaml2?expand=0&rev=35
This commit is contained in:
2020-05-05 18:02:41 +00:00
committed by Git OBS Bridge
parent 6abca738ef
commit 77cddd5317
2 changed files with 8 additions and 1 deletions

View File

@@ -86,7 +86,13 @@ done
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
%pytest tests
# Excluded tests for i586 gh#IdentityPython/pysaml2#682
%ifarch i586
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)"
%else
SKIP_TESTS=""
%endif
%pytest $SKIP_TESTS tests
%post
%python_install_alternative make_metadata.py parse_xsd2.py mdexport.py merge_metadata.py