1
0

Accepting request 813387 from devel:languages:python:flask

OBS-URL: https://build.opensuse.org/request/show/813387
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Flask-WTF?expand=0&rev=6
This commit is contained in:
Dominique Leuenberger 2020-06-11 08:13:40 +00:00 committed by Git OBS Bridge
commit d849b3aa1f
2 changed files with 8 additions and 3 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Jun 10 08:30:32 UTC 2020 - Marketa Calabkova <mcalabkova@suse.com>
- replace nose with pytest
-------------------------------------------------------------------
Sat Feb 8 20:58:05 UTC 2020 - Arun Persaud <arun@gmx.de>

View File

@ -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}