diff --git a/.stestr.conf b/.stestr.conf index 759f1e3d12..d81c293e07 100644 --- a/.stestr.conf +++ b/.stestr.conf @@ -1,3 +1,3 @@ [DEFAULT] -test_path=./sahara/tests +test_path=./sahara/tests/unit top_dir=./ diff --git a/lower-constraints.txt b/lower-constraints.txt index 671308efd6..eec2ba449a 100644 --- a/lower-constraints.txt +++ b/lower-constraints.txt @@ -69,7 +69,6 @@ openstacksdk==0.12.0 os-api-ref==1.4.0 os-client-config==1.29.0 os-service-types==1.2.0 -os-testr==1.0.0 osc-lib==1.10.0 oslo.cache==1.29.0 oslo.concurrency==3.26.0 @@ -143,7 +142,7 @@ sqlalchemy-migrate==0.11.0 SQLAlchemy==1.0.10 sqlparse==0.2.4 statsd==3.2.2 -stestr==2.0.0 +stestr==1.0.0 stevedore==1.20.0 Tempita==0.5.2 tenacity==4.9.0 diff --git a/test-requirements.txt b/test-requirements.txt index c1a5dc76d3..52c0626004 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -12,7 +12,7 @@ doc8>=0.6.0 # Apache-2.0 fixtures>=3.0.0 # Apache-2.0/BSD mock>=2.0.0 # BSD oslotest>=3.2.0 # Apache-2.0 -os-testr>=1.0.0 # Apache-2.0 +stestr>=1.0.0 # Apache-2.0 psycopg2>=2.6.2 # LGPL/ZPL pylint==1.4.5 # GPLv2 testresources>=2.0.0 # Apache-2.0/BSD diff --git a/tox.ini b/tox.ini index 73dec7e518..e9ff9aec98 100644 --- a/tox.ini +++ b/tox.ini @@ -12,7 +12,7 @@ setenv = deps = -r{toxinidir}/requirements.txt -r{toxinidir}/test-requirements.txt -commands = ostestr {posargs} +commands = stestr run {posargs} passenv = http_proxy HTTP_PROXY https_proxy HTTPS_PROXY no_proxy NO_PROXY [testenv:cover]