[packages/python3-aiohttp] - disable test requiring network

qboosh qboosh at pld-linux.org
Wed Feb 17 07:24:36 CET 2021


commit 31c7af202a634bf34ee4e224201b1dee2a14a8d8
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Wed Feb 17 07:25:06 2021 +0100

    - 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}
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python3-aiohttp.git/commitdiff/31c7af202a634bf34ee4e224201b1dee2a14a8d8



More information about the pld-cvs-commit mailing list