summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorEric Fried <openstack@fried.cc>2019-09-17 15:54:42 -0500
committerEric Fried <openstack@fried.cc>2019-09-17 16:13:30 -0500
commitfe86f5e4ae8aee42d685dcedb574b95a5c5ce85a (patch)
tree08a0305f5f71c7cee3cea225d6708ba9576101a4 /tox.ini
parent610df387b62db922d5981b5028d3362d9f75daf4 (diff)
downloadoslo-concurrency-fe86f5e4ae8aee42d685dcedb574b95a5c5ce85a.tar.gz
Some test cleanup
- Tests are based on oslotest.base.BaseTestCase, which uses the NestedTempFile fixture, which uses the TempDir fixture, which adds a cleanup routine to remove the base temporary directory it creates. There's therefore no need for tests to clean up this directory, so all the code that does that is removed. - The eventlet incarnation of tests was trying to make use of the `env` external without whitelisting it, resulting in an ugly red deprecation warning. This commit adds `env` to whitelist_externals in [testenv]. - A handful of typos in the Beowulf quote are corrected. Change-Id: I91cc52e00e0a918dadd2a3a771bd322b0f165ed2
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini1
1 files changed, 1 insertions, 0 deletions
diff --git a/tox.ini b/tox.ini
index 00f953f..ba5ebd6 100644
--- a/tox.ini
+++ b/tox.ini
@@ -9,6 +9,7 @@ deps =
-r{toxinidir}/test-requirements.txt
-r{toxinidir}/requirements.txt
# We want to support both vanilla stdlib and eventlet monkey patched
+whitelist_externals = env
commands =
lockutils-wrapper stestr run --slowest {posargs}
env TEST_EVENTLET=1 lockutils-wrapper stestr run --slowest {posargs}