From: Jakub Bogusz Date: Wed, 17 Feb 2021 06:25:06 +0000 (+0100) Subject: - disable test requiring network X-Git-Tag: auto/th/python3-aiohttp-3.7.3-1 X-Git-Url: http://git.pld-linux.org/?p=packages%2Fpython3-aiohttp.git;a=commitdiff_plain;h=31c7af202a634bf34ee4e224201b1dee2a14a8d8 - disable test requiring network --- diff --git a/python3-aiohttp.spec b/python3-aiohttp.spec index b83ae59..01c70a1 100644 --- a/python3-aiohttp.spec +++ b/python3-aiohttp.spec @@ -88,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}