forked from pool/python-mocket
- add pytest-asyncio and psutil to test build requirements
- skip test_truesendall_with_dump_from_recording as it requires internet connection OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-mocket?expand=0&rev=76
This commit is contained in:
parent
c74ba86073
commit
ff9eddff0f
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Jan 22 08:43:05 UTC 2024 - Sebastian Wagner <sebix@sebix.at>
|
||||
|
||||
- add pytest-asyncio and psutil to test build requirements
|
||||
- skip test_truesendall_with_dump_from_recording as it requires internet connection
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Jan 20 19:40:29 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
|
@ -55,6 +55,7 @@ BuildRequires: %{python_module httptools}
|
||||
BuildRequires: %{python_module mocket = %{version}}
|
||||
BuildRequires: %{python_module pook >= 0.2.1}
|
||||
BuildRequires: %{python_module psutil}
|
||||
BuildRequires: %{python_module pytest-asyncio}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module redis}
|
||||
BuildRequires: %{python_module requests}
|
||||
@ -103,7 +104,7 @@ trap "kill $victims || true" EXIT
|
||||
sleep 2
|
||||
|
||||
# Checks the ability to record a real request and response. Not available inside obs.
|
||||
donttest="test_asyncio_record_replay"
|
||||
donttest="test_asyncio_record_replay or test_truesendall_with_dump_from_recording"
|
||||
# The reference recording has different headers in this case
|
||||
%if %{pkg_vcmp python311-httpx < 0.23}
|
||||
donttest="$donttest or test_truesendall_with_dump_from_recording"
|
||||
|
Loading…
Reference in New Issue
Block a user