From 8cd332155026346abaa5d79d881a2a152aa09520aac96cf201eddc6a238a77da Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Thu, 10 Feb 2022 18:16:05 +0000 Subject: [PATCH] - 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 --- python-flask-restx.changes | 6 ++++++ python-flask-restx.spec | 7 ++++--- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/python-flask-restx.changes b/python-flask-restx.changes index ca56d08..851275e 100644 --- a/python-flask-restx.changes +++ b/python-flask-restx.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Feb 10 18:15:31 UTC 2022 - Matej Cepl + +- Skip LoggingTest.test_override_app_level failing test + (gh#python-restx/flask-restx#411). + ------------------------------------------------------------------- Tue Sep 21 19:00:02 UTC 2021 - Sean Marlow diff --git a/python-flask-restx.spec b/python-flask-restx.spec index 34309da..a333212 100644 --- a/python-flask-restx.spec +++ b/python-flask-restx.spec @@ -1,7 +1,7 @@ # # 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 # 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 jsonschema} BuildRequires: %{python_module mock} -BuildRequires: %{python_module pytest < 6} BuildRequires: %{python_module pytest-benchmark} BuildRequires: %{python_module pytest-flask} BuildRequires: %{python_module pytest-mock} +BuildRequires: %{python_module pytest} BuildRequires: %{python_module pytz} BuildRequires: %{python_module setuptools} BuildRequires: %{python_module tzlocal} @@ -72,7 +72,8 @@ its documentation properly using Swagger. %python_expand %fdupes %{buildroot}%{$python_sitelib} %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} %doc README.rst CONTRIBUTING.rst