[packages/python-blockdiag] - disable network tests
qboosh
qboosh at pld-linux.org
Sat Feb 6 17:13:59 CET 2021
commit b1958328809ccafdd1b967d54fb75cbf59c7c7cb
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Sat Feb 6 17:14:22 2021 +0100
- disable network tests
python-blockdiag.spec | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
---
diff --git a/python-blockdiag.spec b/python-blockdiag.spec
index 0134f0b..1a9f0ae 100644
--- a/python-blockdiag.spec
+++ b/python-blockdiag.spec
@@ -98,8 +98,9 @@ Funkcje:
%py_build
%if %{with tests}
+# disable tests requiring network
PYTHONPATH=$(pwd)/src \
-nosetests-%{py_ver} src/blockdiag/tests
+nosetests-%{py_ver} src/blockdiag/tests -e 'test_app_cleans_up_images|test_generate_diagram\.test_generate|ghostscript_not_found_test'
%endif
%endif
@@ -107,9 +108,10 @@ nosetests-%{py_ver} src/blockdiag/tests
%py3_build
%if %{with tests}
-# disable test which fails on utf-8 vs latin-1 inconsistency
+# disable tests requiring network
+# 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_diagram\.test_generate|ghostscript_not_found_test|test_setup_inline_svg_is_true_with_multibytes'
%endif
%endif
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python-blockdiag.git/commitdiff/b1958328809ccafdd1b967d54fb75cbf59c7c7cb
More information about the pld-cvs-commit
mailing list