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:
parent
027e381015
commit
b1fe3cd1e5
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user