From 31c7af202a634bf34ee4e224201b1dee2a14a8d8 Mon Sep 17 00:00:00 2001 From: Jakub Bogusz Date: Wed, 17 Feb 2021 07:25:06 +0100 Subject: [PATCH] - disable test requiring network --- python3-aiohttp.spec | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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} -- 2.43.0