From f450d83519dfd64764e8a8f16c52ea4c51ffc583a46818d05f2b65cb6d52db29 Mon Sep 17 00:00:00 2001 From: Steve Kowalik Date: Fri, 17 Sep 2021 06:35:02 +0000 Subject: [PATCH] - Use pytest (and not nose) for the testsuite, actually running it. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-livereload?expand=0&rev=3 --- python-livereload.changes | 5 +++++ python-livereload.spec | 8 ++++---- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/python-livereload.changes b/python-livereload.changes index e81410b..cb45de2 100644 --- a/python-livereload.changes +++ b/python-livereload.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Sep 17 06:34:21 UTC 2021 - Steve Kowalik + +- Use pytest (and not nose) for the testsuite, actually running it. + ------------------------------------------------------------------- Wed May 19 18:08:10 UTC 2021 - Matthias Mailänder diff --git a/python-livereload.spec b/python-livereload.spec index 2e4954f..369d6e7 100644 --- a/python-livereload.spec +++ b/python-livereload.spec @@ -25,15 +25,15 @@ License: BSD-2-Clause Group: Development/Languages/Python URL: https://livereload.readthedocs.io/en/latest/ Source: https://github.com/lepture/python-livereload/archive/%{version}.tar.gz +BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} -BuildRequires: %{python_module nose} BuildRequires: %{python_module tornado} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-six Requires: python-tornado Requires(post): update-alternatives -Requires(postun): update-alternatives +Requires(postun):update-alternatives BuildArch: noarch %python_subpackages @@ -53,8 +53,8 @@ Reload webpages on changes, without hitting refresh in your browser. %python_expand %fdupes -s %{buildroot}%{$python_sitelib} %check -# AssertionError -#make test +# https://github.com/lepture/python-livereload/issues/200 +%pytest -k 'not test_watch_multiple_dirs' %post %python_install_alternative livereload