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 %check
SKIPPED_TESTS="network" SKIPPED_TESTS="network"
%if %{__isa_bits} == 32 %if %{__isa_bits} == 32
SKIPPED_TESTS="$SKIPPED_TESTS or test_verify_with_time" SKIPPED_TESTS="(network or test_verify_with_time)"
%endif %endif
export LC_ALL=en_US.UTF-8 export LC_ALL=en_US.UTF-8
%pytest -k "not ($SKIPPED_TESTS)" %pytest -k "not $SKIPPED_TESTS"
%files %{python_files} %files %{python_files}
%license LICENSE %license LICENSE