Fix stestr configuration

.stestr.conf was missing, and in the lower-constraints tests we
weren't getting stestr installed, probably because we were using an
older version of oslotest that didn't depend on it. We should have
an explicit dep on it anyway so it is added to test-requirements.

Some old testr cruft is also cleaned up.

Change-Id: Ia754ee7bc01f87c96ca3e979ec0d6a54001f4bc7
This commit is contained in:
Ben Nemec 2019-05-31 14:57:06 +00:00
parent 87289e42b0
commit 7a6836d522
4 changed files with 4 additions and 9 deletions

View File

@ -36,8 +36,6 @@ pip-log.txt
# Unit test / coverage reports
.coverage
.tox
nosetests.xml
.testrepository
# Translations
*.mo

View File

@ -0,0 +1,3 @@
[DEFAULT]
test_path=./oslo_{{cookiecutter.module_name}}/tests
top_path=./

View File

@ -1,7 +0,0 @@
[DEFAULT]
test_command=OS_STDOUT_CAPTURE=${OS_STDOUT_CAPTURE:-1} \
OS_STDERR_CAPTURE=${OS_STDERR_CAPTURE:-1} \
OS_TEST_TIMEOUT=${OS_TEST_TIMEOUT:-60} \
${PYTHON:-python} -m subunit.run discover -t ./ ./oslo_{{cookiecutter.module_name}} $LISTOPT $IDOPTION
test_id_option=--load-list $IDFILE
test_list_option=--list

View File

@ -4,3 +4,4 @@
hacking<0.11,>=0.10.0
oslotest>=1.5.1
stestr>=2.0.0 # Apache-2.0