From b4232013fe73c87aa7347c4c63ccb222fc20082e41217292fbea8ce1dd98ef1e Mon Sep 17 00:00:00 2001 From: Petr Cervinka Date: Thu, 11 Jun 2020 06:24:31 +0000 Subject: [PATCH] Accepting request 813138 from home:mcalabkova:branches:devel:languages:python:flask - replace nose with pytest OBS-URL: https://build.opensuse.org/request/show/813138 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:flask/python-Flask-WTF?expand=0&rev=4 --- python-Flask-WTF.changes | 5 +++++ python-Flask-WTF.spec | 6 +++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/python-Flask-WTF.changes b/python-Flask-WTF.changes index 9c35550..de350c9 100644 --- a/python-Flask-WTF.changes +++ b/python-Flask-WTF.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Jun 10 08:30:32 UTC 2020 - Marketa Calabkova + +- replace nose with pytest + ------------------------------------------------------------------- Sat Feb 8 20:58:05 UTC 2020 - Arun Persaud diff --git a/python-Flask-WTF.spec b/python-Flask-WTF.spec index ae46f30..80524a0 100644 --- a/python-Flask-WTF.spec +++ b/python-Flask-WTF.spec @@ -17,7 +17,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} -%bcond_with test +%bcond_without test Name: python-Flask-WTF Version: 0.14.3 Release: 0 @@ -40,7 +40,7 @@ BuildRequires: %{python_module Flask} BuildRequires: %{python_module WTForms} BuildRequires: %{python_module Werkzeug} BuildRequires: %{python_module itsdangerous} -BuildRequires: %{python_module nose} +BuildRequires: %{python_module pytest} %endif %python_subpackages @@ -60,7 +60,7 @@ Adds WTForms support to your Flask application %if %{with test} %check export LANG=en_US.UTF-8 -%python_expand nosetests-%{$python_bin_suffix} tests +%pytest tests %endif %files %{python_files}