[packages/python3-libsass] - disable tests utilizing network

qboosh qboosh at pld-linux.org
Tue Mar 4 21:17:12 CET 2025


commit 295ff378f493f54a7f794608332d4827bbbefc7f
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Tue Mar 4 21:09:42 2025 +0100

    - disable tests utilizing network

 python3-libsass.spec | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/python3-libsass.spec b/python3-libsass.spec
index 29261ea..16a6253 100644
--- a/python3-libsass.spec
+++ b/python3-libsass.spec
@@ -55,9 +55,10 @@ export SYSTEM_SASS=1
 %py3_build
 
 %if %{with tests}
+# test_build_sass and test_output_style tests build libsass itself using network
 PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 \
 PYTHONPATH=$(echo $(pwd)/build-3/lib.*) \
-%{__python3} -m pytest sasstests.py
+%{__python3} -m pytest sasstests.py -k 'not test_build_sass and not test_output_style'
 %endif
 
 %if %{with doc}
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python3-libsass.git/commitdiff/295ff378f493f54a7f794608332d4827bbbefc7f



More information about the pld-cvs-commit mailing list