Accepting request 810713 from home:mcalabkova:branches:devel:languages:python

- Replace nose with pytest

OBS-URL: https://build.opensuse.org/request/show/810713
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-websockify?expand=0&rev=42
This commit is contained in:
Tomáš Chvátal 2020-06-02 08:07:07 +00:00 committed by Git OBS Bridge
parent eaf21f0342
commit 8004920c24
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Jun 2 06:37:21 UTC 2020 - Marketa Calabkova <mcalabkova@suse.com>
- Replace nose with pytest
-------------------------------------------------------------------
Thu Mar 12 07:47:53 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>

View File

@ -28,8 +28,8 @@ Source: https://github.com/novnc/websockify/archive/v%{version}.tar.gz
BuildRequires: %{python_module cryptography}
BuildRequires: %{python_module jwcrypto}
BuildRequires: %{python_module mox3}
BuildRequires: %{python_module nose}
BuildRequires: %{python_module numpy}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module redis}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module simplejson}
@ -88,7 +88,7 @@ sed -i '1 { /^#!/ d }' websockify/websock*.py
%python_clone -a %{buildroot}%{_bindir}/websockify
%check
%python_exec setup.py nosetests
%pytest
%post
%python_install_alternative websockify