[packages/python-requests-futures] - disable network tests (thans to proper pytest.marks); release 2

qboosh qboosh at pld-linux.org
Sun Oct 1 11:18:35 CEST 2023


commit 39e338eec092541408fb2b94ef90a26da2efd4d5
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sun Oct 1 10:12:49 2023 +0200

    - disable network tests (thans to proper pytest.marks); release 2

 python-requests-futures.spec | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/python-requests-futures.spec b/python-requests-futures.spec
index 15075a7..e35f256 100644
--- a/python-requests-futures.spec
+++ b/python-requests-futures.spec
@@ -8,7 +8,7 @@ Summary:	Asynchronous Python HTTP for Humans
 Summary(pl.UTF-8):	Asynchroniczne HTTP w Pythonie dla ludzi
 Name:		python-requests-futures
 Version:	1.0.1
-Release:	1
+Release:	2
 License:	Apache v2.0
 Group:		Libraries/Python
 #Source0Download: https://pypi.org/simple/requests-futures/
@@ -71,7 +71,7 @@ concurrent.futures z Pythona 3.2 albo backport dla starszych wersji.
 %if %{with tests}
 PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 \
 PYTHONPATH=$(pwd) \
-%{__python} -m pytest tests
+%{__python} -m pytest tests -m 'not network'
 %endif
 %endif
 
@@ -81,7 +81,7 @@ PYTHONPATH=$(pwd) \
 %if %{with tests}
 PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 \
 PYTHONPATH=$(pwd) \
-%{__python3} -m pytest tests
+%{__python3} -m pytest tests -m 'not network'
 %endif
 %endif
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-requests-futures.git/commitdiff/39e338eec092541408fb2b94ef90a26da2efd4d5



More information about the pld-cvs-commit mailing list