forked from pool/python-rpyc
Accepting request 811140 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/811140 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-rpyc?expand=0&rev=9
This commit is contained in:
@@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jun 3 10:33:48 UTC 2020 - Marketa Calabkova <mcalabkova@suse.com>
|
||||||
|
|
||||||
|
- replace nose with pytest
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri May 15 11:29:23 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>
|
Fri May 15 11:29:23 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>
|
||||||
|
|
||||||
|
@@ -42,8 +42,8 @@ Requires(postun): update-alternatives
|
|||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
%if %{with test}
|
%if %{with test}
|
||||||
BuildRequires: %{python_module gevent}
|
BuildRequires: %{python_module gevent}
|
||||||
BuildRequires: %{python_module nose}
|
|
||||||
BuildRequires: %{python_module plumbum >= 1.2}
|
BuildRequires: %{python_module plumbum >= 1.2}
|
||||||
|
BuildRequires: %{python_module pytest}
|
||||||
BuildRequires: %{python_module rpyc = %{version}}
|
BuildRequires: %{python_module rpyc = %{version}}
|
||||||
%endif
|
%endif
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
@@ -76,7 +76,7 @@ mv %{buildroot}%{_bindir}/rpyc_registry.py %{buildroot}%{_bindir}/rpyc_registry
|
|||||||
|
|
||||||
%if %{with test}
|
%if %{with test}
|
||||||
%check
|
%check
|
||||||
%python_expand nosetests-%{$python_bin_suffix} -v -I test_deploy -I test_gevent_server -I test_ssh -I test_registry -I test_win32pipes
|
%pytest -k 'not (TestDeploy or Test_Ssh or TestUdpRegistry or win32pipes)'
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%if !%{with test}
|
%if !%{with test}
|
||||||
|
Reference in New Issue
Block a user