Adjust ignoring tests by pytest

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyOpenSSL?expand=0&rev=79
This commit is contained in:
Matej Cepl 2020-12-22 22:40:09 +00:00 committed by Git OBS Bridge
parent 027e381015
commit b1fe3cd1e5

View File

@ -73,10 +73,10 @@ other things) a cffi-based interface to OpenSSL.
%check
SKIPPED_TESTS="network"
%if %{__isa_bits} == 32
SKIPPED_TESTS="$SKIPPED_TESTS or test_verify_with_time"
SKIPPED_TESTS="(network or test_verify_with_time)"
%endif
export LC_ALL=en_US.UTF-8
%pytest -k "not ($SKIPPED_TESTS)"
%pytest -k "not $SKIPPED_TESTS"
%files %{python_files}
%license LICENSE