Matej Cepl 2018-10-07 06:38:58 +00:00 committed by Git OBS Bridge
parent 62ed425ae7
commit 2e855cc977

View File

@ -51,7 +51,7 @@ BuildRequires: %{python_module fixtures >= 3.0.0}
BuildRequires: %{python_module mock >= 2.0} BuildRequires: %{python_module mock >= 2.0}
BuildRequires: %{python_module six >= 1.9.0} BuildRequires: %{python_module six >= 1.9.0}
# BuildRequires: %{python_module stestr} # BuildRequires: %{python_module stestr}
# BuildRequires: %{python_module testresources >= 2.0.0} BuildRequires: %{python_module testresources >= 2.0.0}
BuildRequires: %{python_module testscenarios >= 0.4} BuildRequires: %{python_module testscenarios >= 0.4}
BuildRequires: %{python_module testtools >= 2.2.0} BuildRequires: %{python_module testtools >= 2.2.0}
BuildRequires: %{python_module virtualenv >= 14.0.6} BuildRequires: %{python_module virtualenv >= 14.0.6}
@ -92,7 +92,8 @@ chmod -x pbr/tests/testpackage/setup.py
%if %{with test} %if %{with test}
%check %check
%python_exec -m stestr.cli run # %%python_exec -m stestr.cli run
%python_exec -m unittest -v discover
%endif %endif
%if !%{with test} %if !%{with test}