diff --git a/python-mocket.changes b/python-mocket.changes index 3eb9cab..01adaff 100644 --- a/python-mocket.changes +++ b/python-mocket.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Jan 22 08:43:05 UTC 2024 - Sebastian Wagner + +- 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 diff --git a/python-mocket.spec b/python-mocket.spec index c227008..690e4a4 100644 --- a/python-mocket.spec +++ b/python-mocket.spec @@ -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"