[packages/python-wstools] - disable pytest plugins
qboosh
qboosh at pld-linux.org
Wed Apr 27 17:56:01 CEST 2022
commit 8090225a8674d008c86c46e10f6f38e9c265e6ce
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Wed Apr 27 17:56:15 2022 +0200
- disable pytest plugins
python-wstools.spec | 2 ++
1 file changed, 2 insertions(+)
---
diff --git a/python-wstools.spec b/python-wstools.spec
index 91ce371..350f886 100644
--- a/python-wstools.spec
+++ b/python-wstools.spec
@@ -69,6 +69,7 @@ Pakiet usług analizy WSDL dla usług WWW (Web Services) dla Pythona.
%py_build
%if %{with tests}
+PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 \
%{__python} -m pytest tests
%endif
%endif
@@ -77,6 +78,7 @@ Pakiet usług analizy WSDL dla usług WWW (Web Services) dla Pythona.
%py3_build
%if %{with tests}
+PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 \
%{__python3} -m pytest tests
%endif
%endif
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python-wstools.git/commitdiff/8090225a8674d008c86c46e10f6f38e9c265e6ce
More information about the pld-cvs-commit
mailing list