From 900136ce3b07ec35db2982cdf284746be1e9c06bfc53eafdbbdfbadd05586fe3 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Sun, 23 Jan 2022 00:54:39 +0000 Subject: [PATCH] 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 --- python-cheroot.changes | 5 +++++ python-cheroot.spec | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/python-cheroot.changes b/python-cheroot.changes index 73e5e1d..fde6027 100644 --- a/python-cheroot.changes +++ b/python-cheroot.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sat Jan 22 17:17:44 UTC 2022 - Ben Greiner + +- The work around needs to ignore the testfile from the sitelib + ------------------------------------------------------------------- Sat Jan 22 12:25:02 UTC 2022 - Ben Greiner diff --git a/python-cheroot.spec b/python-cheroot.spec index 36097f7..98a2824 100644 --- a/python-cheroot.spec +++ b/python-cheroot.spec @@ -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)"