From 2e855cc977f1a5dea11532614cf6889c1986cb31a3f73b471a27c9ad2ffb9cd0 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Sun, 7 Oct 2018 06:38:58 +0000 Subject: [PATCH] no stestr OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pbr?expand=0&rev=99 --- python-pbr.spec | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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}