]> git.pld-linux.org Git - packages/python3-aiohttp.git/blobdiff - python3-aiohttp.spec
- disable test requiring network
[packages/python3-aiohttp.git] / python3-aiohttp.spec
index a7ee4b4d6a4ad95592ded4ebc8a5c632bb63e61e..01c70a163982f1493e2ab262ee68c515885cd4d7 100644 (file)
@@ -24,6 +24,7 @@ BuildRequires:        python3-async_timeout >= 3.0
 BuildRequires: python3-attrs >= 17.3.0
 BuildRequires: python3-brotli
 BuildRequires: python3-chardet >= 2.0
+BuildRequires: python3-freezegun
 BuildRequires: python3-gunicorn
 %if "%{py3_ver}" < "3.7"
 BuildRequires: python3-idna-ssl
@@ -87,9 +88,10 @@ Dokumentacja API aiohttp.
 %if %{with tests}
 # test_data_stream_exc_chain uses network, fails
 # test_async_iterable_payload_default_content_type, test_async_iterable_payload_explicit_content_type fail with TypeError (need update?)
+# test_mark_formdata_as_processed requires network
 PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 \
 PYTEST_PLUGINS="pytest_cov.plugin,pytest_mock" \
-%{__python3} -m pytest tests -k 'not (test_data_stream_exc_chain or test_async_iterable_payload_default_content_type or test_async_iterable_payload_explicit_content_type)'
+%{__python3} -m pytest tests -k 'not (test_data_stream_exc_chain or test_async_iterable_payload_default_content_type or test_async_iterable_payload_explicit_content_type or test_mark_formdata_as_processed)'
 %endif
 
 %if %{with doc}
This page took 0.152127 seconds and 4 git commands to generate.