From 8004920c24e4ff34d99ebd0d2c0f38608ab047c6a7ec1ae0f1f4d5b3b7b26e62 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Tue, 2 Jun 2020 08:07:07 +0000 Subject: [PATCH] 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 --- python-websockify.changes | 5 +++++ python-websockify.spec | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/python-websockify.changes b/python-websockify.changes index afeb2b0..fd40f8b 100644 --- a/python-websockify.changes +++ b/python-websockify.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Jun 2 06:37:21 UTC 2020 - Marketa Calabkova + +- Replace nose with pytest + ------------------------------------------------------------------- Thu Mar 12 07:47:53 UTC 2020 - Tomáš Chvátal diff --git a/python-websockify.spec b/python-websockify.spec index f1b8618..a301e10 100644 --- a/python-websockify.spec +++ b/python-websockify.spec @@ -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