forked from pool/python-pamqp
Accepting request 812793 from home:mcalabkova:branches:devel:languages:python
- replace nose with pytest OBS-URL: https://build.opensuse.org/request/show/812793 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pamqp?expand=0&rev=18
This commit is contained in:
committed by
Git OBS Bridge
parent
960e0f330e
commit
e602ca773e
@@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Jun 9 07:24:28 UTC 2020 - Marketa Calabkova <mcalabkova@suse.com>
|
||||
|
||||
- replace nose with pytest
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Apr 23 10:35:35 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>
|
||||
|
||||
|
||||
@@ -26,7 +26,7 @@ License: BSD-3-Clause
|
||||
Group: Development/Languages/Python
|
||||
URL: https://github.com/gmr/pamqp
|
||||
Source: https://github.com/gmr/pamqp/archive/%{version}.tar.gz
|
||||
BuildRequires: %{python_module nose}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
@@ -60,8 +60,7 @@ encoding should be run through the pamqp.frame module.
|
||||
%check
|
||||
# for python 2.7 has to 'always' be there, for python 3.7 'default' is enough
|
||||
export PYTHONWARNINGS=always
|
||||
# test_decode_embedded_value_long_uint_data_type https://github.com/gmr/pamqp/issues/11
|
||||
%python_expand nosetests-%{$python_bin_suffix} tests/ -e 'test_decode_embedded_value_long_uint_data_type'
|
||||
%pytest tests/*
|
||||
|
||||
%files %{python_files}
|
||||
%license LICENSE
|
||||
|
||||
Reference in New Issue
Block a user