forked from pool/python-pika
- Switch from using nosetest runner to pytest
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pika?expand=0&rev=36
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Apr 17 08:48:25 UTC 2020 - Matej Cepl <mcepl@suse.com>
|
||||
|
||||
- Switch from using nosetest runner to pytest
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jul 23 11:28:43 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-pika
|
||||
#
|
||||
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2020 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,7 @@ URL: https://github.com/pika/pika
|
||||
Source: https://github.com/pika/pika/archive/%{version}.tar.gz
|
||||
BuildRequires: %{python_module Twisted}
|
||||
BuildRequires: %{python_module mock}
|
||||
BuildRequires: %{python_module nose}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module tornado}
|
||||
BuildRequires: fdupes
|
||||
@@ -60,7 +60,7 @@ sed -i -e 's:,tests/acceptance::' setup.cfg
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}/*.egg-info
|
||||
|
||||
%check
|
||||
%python_expand PYTHONPATH="%{buildroot}%{$python_sitelib}" nosetests-%{$python_bin_suffix} tests/
|
||||
%pytest tests/
|
||||
|
||||
%files %{python_files}
|
||||
%doc README.rst CHANGELOG.rst
|
||||
|
Reference in New Issue
Block a user