Accepting request 886064 from home:bnavigator:branches:devel:languages:python:pytest

- Fix test suite: Don't error on OBS resource warnings

OBS-URL: https://build.opensuse.org/request/show/886064
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-filter-subpackage?expand=0&rev=5
This commit is contained in:
2021-04-19 08:13:21 +00:00
committed by Git OBS Bridge
parent c1cdfe06eb
commit 1d2969b202
2 changed files with 8 additions and 1 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Apr 16 15:02:16 UTC 2021 - Ben Greiner <code@bnavigator.de>
- Fix test suite: Don't error on OBS resource warnings
-------------------------------------------------------------------
Wed Dec 9 00:01:05 UTC 2020 - Benjamin Greiner <code@bnavigator.de>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-pytest-filter-subpackage
#
# Copyright (c) 2020 SUSE LLC
# Copyright (c) 2021 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -53,6 +53,8 @@ shortcut to testing all code and documentation for a given sub-package.
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
# don't error on obs resource warnings
sed -i '/^\s*error/ a \ ignore::ResourceWarning' setup.cfg
%pytest
%files %{python_files}