- Skip test failing with new aiohttp

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-mocket?expand=0&rev=89
This commit is contained in:
Sebastian Wagner 2024-10-01 11:37:23 +00:00 committed by Git OBS Bridge
parent da0875b576
commit 9de1218980
2 changed files with 8 additions and 3 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Oct 1 09:18:21 UTC 2024 - Markéta Machová <mmachova@suse.com>
- Skip test failing with new aiohttp
-------------------------------------------------------------------
Thu Sep 26 08:25:18 UTC 2024 - Sebastian Wagner <sebix@sebix.at>

View File

@ -1,5 +1,5 @@
#
# spec file
# spec file for package python-mocket
#
# Copyright (c) 2024 SUSE LLC
#
@ -108,8 +108,8 @@ donttest="test_asyncio_record_replay or test_truesendall_with_dump_from_recordin
%if %{pkg_vcmp python311-httpx < 0.23}
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 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"
# fails with new incompatible aiohttp version https://github.com/mindflayer/python-mocket/issues/247
donttest="$donttest or test_aiohttp"
%pytest -rfEs -k "not ($donttest)" ${pytest_$python_ignore} tests
%endif