diff --git a/python-WSME.changes b/python-WSME.changes index 407d488..27849ab 100644 --- a/python-WSME.changes +++ b/python-WSME.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Thu Apr 14 10:08:22 UTC 2022 - pgajdos@suse.com + +- %check: do not run test_args.py, it runs one test and it is the + only one which requires python-mock +- do not require python-mock for build + ------------------------------------------------------------------- Sun Oct 17 22:34:16 UTC 2021 - Dirk Müller diff --git a/python-WSME.spec b/python-WSME.spec index f021a1a..b367072 100644 --- a/python-WSME.spec +++ b/python-WSME.spec @@ -1,7 +1,7 @@ # # spec file for package python-WSME # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -28,7 +28,6 @@ Source: https://files.pythonhosted.org/packages/source/W/WSME/WSME-%{ver # Test requirements: BuildRequires: %{python_module WebOb >= 1.2.3} BuildRequires: %{python_module WebTest} -BuildRequires: %{python_module mock} BuildRequires: %{python_module netaddr >= 0.7.12} BuildRequires: %{python_module pbr} BuildRequires: %{python_module pecan} @@ -62,7 +61,7 @@ with focus on extensibility, framework-independence and improved type handling. %python_expand %fdupes %{buildroot}%{$python_sitelib} %check -%pytest tests/pecantest tests/rest +%pytest tests/pecantest %files %{python_files} %license LICENSE