- Skip LoggingTest.test_override_app_level failing test

(gh#python-restx/flask-restx#411).

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:flask/python-flask-restx?expand=0&rev=11
This commit is contained in:
Matej Cepl 2022-02-10 18:16:05 +00:00 committed by Git OBS Bridge
parent 1713fcca4c
commit 8cd3321550
2 changed files with 10 additions and 3 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu Feb 10 18:15:31 UTC 2022 - Matej Cepl <mcepl@suse.com>
- Skip LoggingTest.test_override_app_level failing test
(gh#python-restx/flask-restx#411).
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Sep 21 19:00:02 UTC 2021 - Sean Marlow <sean.marlow@suse.com> Tue Sep 21 19:00:02 UTC 2021 - Sean Marlow <sean.marlow@suse.com>

View File

@ -1,7 +1,7 @@
# #
# spec file for package python-flask-restx # spec file for package python-flask-restx
# #
# Copyright (c) 2021 SUSE LLC # Copyright (c) 2022 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -32,10 +32,10 @@ BuildRequires: %{python_module aniso8601}
BuildRequires: %{python_module blinker} BuildRequires: %{python_module blinker}
BuildRequires: %{python_module jsonschema} BuildRequires: %{python_module jsonschema}
BuildRequires: %{python_module mock} BuildRequires: %{python_module mock}
BuildRequires: %{python_module pytest < 6}
BuildRequires: %{python_module pytest-benchmark} BuildRequires: %{python_module pytest-benchmark}
BuildRequires: %{python_module pytest-flask} BuildRequires: %{python_module pytest-flask}
BuildRequires: %{python_module pytest-mock} BuildRequires: %{python_module pytest-mock}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module pytz} BuildRequires: %{python_module pytz}
BuildRequires: %{python_module setuptools} BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module tzlocal} BuildRequires: %{python_module tzlocal}
@ -72,7 +72,8 @@ its documentation properly using Swagger.
%python_expand %fdupes %{buildroot}%{$python_sitelib} %python_expand %fdupes %{buildroot}%{$python_sitelib}
%check %check
%pytest -k 'not URLTest and not EmailTest and not test_handle_non_api_error' # gh#python-restx/flask-restx#411 for LoggingTest.test_override_app_level
%pytest -k 'not (URLTest or EmailTest or test_handle_non_api_error or test_override_app_level)'
%files %{python_files} %files %{python_files}
%doc README.rst CONTRIBUTING.rst %doc README.rst CONTRIBUTING.rst