diff --git a/.gitignore b/.gitignore index 6c105324d..e3e2ffa97 100644 --- a/.gitignore +++ b/.gitignore @@ -24,6 +24,7 @@ pip-log.txt .coverage* .tox nosetests.xml +.stestr/ .testrepository .venv .idea diff --git a/.stestr.conf b/.stestr.conf new file mode 100644 index 000000000..0579b69bc --- /dev/null +++ b/.stestr.conf @@ -0,0 +1,4 @@ +[DEFAULT] +test_path=${OS_TEST_PATH:-./watcher/tests} +top_dir=./ + diff --git a/tox.ini b/tox.ini index aa2bedaab..d33533147 100644 --- a/tox.ini +++ b/tox.ini @@ -14,7 +14,7 @@ deps = -r{toxinidir}/test-requirements.txt commands = rm -f .testrepository/times.dbm find . -type f -name "*.py[c|o]" -delete - ostestr --concurrency=6 {posargs} + stestr run {posargs} passenv = http_proxy HTTP_PROXY https_proxy HTTPS_PROXY no_proxy NO_PROXY [testenv:pep8]