From 7cd7a6dc860fbb625b603801ecd3022192020899c3c5e73bef750b86ddf74641 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Fri, 20 Jul 2018 11:22:55 +0000 Subject: [PATCH] Use python3 -munittest discover -v -s tests instead of run_tests.py OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-slixmpp?expand=0&rev=5 --- python-slixmpp.changes | 5 +++++ python-slixmpp.spec | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/python-slixmpp.changes b/python-slixmpp.changes index 34b7399..d164b68 100644 --- a/python-slixmpp.changes +++ b/python-slixmpp.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Jul 20 11:22:06 UTC 2018 - mcepl@suse.com + +- Use python3 -munittest discover -v -s tests instead of run_tests.py + ------------------------------------------------------------------- Thu Jul 19 16:41:35 UTC 2018 - mcepl@suse.com diff --git a/python-slixmpp.spec b/python-slixmpp.spec index 7e3f0d8..05693ab 100644 --- a/python-slixmpp.spec +++ b/python-slixmpp.spec @@ -68,7 +68,8 @@ python3 setup.py install \ %fdupes %{buildroot}%{python3_sitearch} %check -python3 run_tests.py +# python3 run_tests.py +python3 -munittest discover -v -s tests %files -n python3-%{_name} %license LICENSE