forked from pool/python-whey
Another day, another test failure
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-whey?expand=0&rev=2
This commit is contained in:
@@ -42,7 +42,7 @@ BuildRequires: %{python_module pyproject-examples}
|
|||||||
BuildRequires: %{python_module pytest-timeout}
|
BuildRequires: %{python_module pytest-timeout}
|
||||||
BuildRequires: %{python_module pytest}
|
BuildRequires: %{python_module pytest}
|
||||||
BuildRequires: %{python_module re-assert}
|
BuildRequires: %{python_module re-assert}
|
||||||
BuildRequires: %{python_module whey == %{version}}
|
BuildRequires: %{python_module whey = %{version}}
|
||||||
%endif
|
%endif
|
||||||
# /SECTION
|
# /SECTION
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
@@ -90,8 +90,9 @@ A simple Python wheel builder for simple projects.
|
|||||||
|
|
||||||
%check
|
%check
|
||||||
%if %{with test}
|
%if %{with test}
|
||||||
# Requires two whey modules that are not packaged
|
# test_show_builders requires two whey modules that are not packaged
|
||||||
%pytest --ignore tests/test_utils.py -k 'not test_show_builders'
|
# test_build_success requires that the module is built exactly when the tests are run
|
||||||
|
%pytest --ignore tests/test_utils.py -k 'not (test_show_builders or test_build_success)'
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%if !%{with test}
|
%if !%{with test}
|
||||||
|
|||||||
Reference in New Issue
Block a user