[packages/python3-blockdiag] - disable network tests
qboosh
qboosh at pld-linux.org
Sat Feb 6 17:34:08 CET 2021
commit cead4f04848c6d053258e5b6491e291ba31a8a5a
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Sat Feb 6 17:34:33 2021 +0100
- disable network tests
python3-blockdiag.spec | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/python3-blockdiag.spec b/python3-blockdiag.spec
index 57b63be..536b8ca 100644
--- a/python3-blockdiag.spec
+++ b/python3-blockdiag.spec
@@ -53,9 +53,10 @@ Funkcje:
%py3_build
%if %{with tests}
-# disable test which fails on utf-8 vs latin-1 inconsistency
+# disable tests requiring network: test_command.TestBlockdiagApp.test_app_cleans_up_images, test_generate_diagram.test_generate, test_generate_diagram.ghostscript_not_found_test
+# test_setup_inline_svg_is_true_with_multibytes fails on utf-8 vs latin-1 inconsistency
PYTHONPATH=$(pwd)/src \
-nosetests-%{py3_ver} src/blockdiag/tests -e test_setup_inline_svg_is_true_with_multibytes
+nosetests-%{py3_ver} src/blockdiag/tests -e 'test_app_cleans_up_images|test_generate|ghostscript_not_found_test|test_setup_inline_svg_is_true_with_multibytes'
%endif
%install
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python3-blockdiag.git/commitdiff/cead4f04848c6d053258e5b6491e291ba31a8a5a
More information about the pld-cvs-commit
mailing list