[packages/python3-zope.component] - updated tests

qboosh qboosh at pld-linux.org
Mon May 5 22:01:53 CEST 2025


commit a9711674353d5431d29dec1748063394a7442637
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Mon May 5 21:57:36 2025 +0200

    - updated tests

 python3-zope.component.spec | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)
---
diff --git a/python3-zope.component.spec b/python3-zope.component.spec
index 1cc0f13..bb76f99 100644
--- a/python3-zope.component.spec
+++ b/python3-zope.component.spec
@@ -70,7 +70,12 @@ Dokumentacja API modułu Pythona zope.deferredimport.
 %patch -P0 -p1
 
 %build
-%py3_build %{?with_tests:test}
+%py3_build
+
+%if %{with tests}
+PYTHONPATH=$(pwd)/src \
+zope-testrunner-3 --test-path=src -v
+%endif
 
 %if %{with doc}
 PYTHONPATH=$(pwd)/src \
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python3-zope.component.git/commitdiff/a9711674353d5431d29dec1748063394a7442637



More information about the pld-cvs-commit mailing list