forked from pool/python-livereload
- 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:
@@ -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>
|
||||
|
||||
|
||||
@@ -25,8 +25,8 @@ 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
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user