14
0

- 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
This commit is contained in:
2021-09-17 06:35:02 +00:00
committed by Git OBS Bridge
parent 956cd28413
commit f450d83519
2 changed files with 9 additions and 4 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Sep 17 06:34:21 UTC 2021 - Steve Kowalik <steven.kowalik@suse.com>
- Use pytest (and not nose) for the testsuite, actually running it.
-------------------------------------------------------------------
Wed May 19 18:08:10 UTC 2021 - Matthias Mailänder <mailaender@opensuse.org>

View File

@@ -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