From b2175511a2ce9e7241896a7a2d2d0e69d6254a2f224b129da36a795e5c16b777 Mon Sep 17 00:00:00 2001 From: Sebastian Wagner Date: Tue, 3 Sep 2024 07:38:40 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-mocket?expand=0&rev=86 --- python-mocket.spec | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/python-mocket.spec b/python-mocket.spec index d985125..2f0c389 100644 --- a/python-mocket.spec +++ b/python-mocket.spec @@ -72,8 +72,7 @@ included, with gevent/asyncio/SSL support. %prep %autosetup -p1 -n mocket-%{version} -#sed -i '/cov/ d' setup.cfg -#sed -i '/pipenv/ d' setup.py +sed -i 's/--cov[^ ]*//g' pyproject.toml %build %if !%{with test} @@ -110,8 +109,8 @@ donttest="test_asyncio_record_replay or test_truesendall_with_dump_from_recordin donttest="$donttest or test_truesendall_with_dump_from_recording" %endif # these fail after the python 3.11 patches -#donttest="$donttest or test_http_session or test_https_session or test_httprettish_session" -%pytest -rfEs -k "not ($donttest)" ${pytest_$python_ignore} +#donttest="$donttest or test_http_session or test_https_session or test_httprettish_session or test_truesendall or test_wrongpath_truesendall or test_real_request_session or test_multiple_socket_connections or test_intermittent_strict_mode or test_strict_mode_exceptions or test_err or test_get or test_hm or test_incr or test_lrange or test_select_db or test_set or test_shutdown or test_hgetall or test_raise_exception" +%pytest -rfEs -k "not ($donttest)" ${pytest_$python_ignore} tests %endif %if !%{with test}