From c93fe86db4e948c6be46f3694a7c27b0bf8875b17931406f860e8f04edf8adb1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mark=C3=A9ta=20Machov=C3=A1?= Date: Thu, 14 Apr 2022 16:32:28 +0000 Subject: [PATCH] Accepting request 970105 from home:pgajdos:python - %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 OBS-URL: https://build.opensuse.org/request/show/970105 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-WSME?expand=0&rev=42 --- python-WSME.changes | 7 +++++++ python-WSME.spec | 5 ++--- 2 files changed, 9 insertions(+), 3 deletions(-) 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