15
0

Accepting request 948135 from home:bnavigator:branches:devel:languages:python

- The work around needs to ignore the testfile from the sitelib

Sorry, the staging project was not testable during time of the previous
submission. Forgot about the ringdisabled.

OBS-URL: https://build.opensuse.org/request/show/948135
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cheroot?expand=0&rev=43
This commit is contained in:
2022-01-23 00:54:39 +00:00
committed by Git OBS Bridge
parent d9f29aec53
commit 900136ce3b
2 changed files with 6 additions and 1 deletions

View File

@@ -109,7 +109,7 @@ pushd testclean
%if %{with ringdisabled}
# skip this test file (1 test only) in Factory staging, because we
# do not want to add python-jaraco.context to Ring1
pytest_opts="--ignore cheroot/test/test_wsgi.py"
%python_expand pytest_opts+=" --ignore %{buildroot}%{$python_sitelib}/cheroot/test/test_wsgi.py"
%endif
# test_tls_client_auth[...-False-localhost-builtin] fails ocassionally on server-side OBS
%pytest --pyargs cheroot $pytest_opts -k "not (test_tls_client_auth and False-localhost-builtin)"