diff --git a/python-pbr.spec b/python-pbr.spec index 1d90f4e..888dee6 100644 --- a/python-pbr.spec +++ b/python-pbr.spec @@ -51,7 +51,7 @@ BuildRequires: %{python_module fixtures >= 3.0.0} BuildRequires: %{python_module mock >= 2.0} BuildRequires: %{python_module six >= 1.9.0} # 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 testtools >= 2.2.0} BuildRequires: %{python_module virtualenv >= 14.0.6} @@ -92,7 +92,8 @@ chmod -x pbr/tests/testpackage/setup.py %if %{with test} %check -%python_exec -m stestr.cli run +# %%python_exec -m stestr.cli run +%python_exec -m unittest -v discover %endif %if !%{with test}