summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorAndrey Kurilin <andr.kurilin@gmail.com>2017-07-03 13:26:27 +0300
committerAndrey Kurilin <andr.kurilin@gmail.com>2017-11-23 16:52:04 +0000
commit00ffdef3d549e331ed99e2db40629e62fefede3b (patch)
tree6bc6bc9612d2ea685f11a954f8b40956d5e8fba5 /tox.ini
parenta8e4521b673ed3935c096580ad1f14a1be9a4f39 (diff)
downloadpython-novaclient-00ffdef3d549e331ed99e2db40629e62fefede3b.tar.gz
[ci] Use pseudo-random names for new resources
Random names of resources makes the task impossible to find a test which doesn't clean resources after a launch. This patch changes name_generate method to generate names including a name of the test, which can be really helpful. Also, the simple script that prints resources after test run is added. Change-Id: Id3a743afb624dd4bf8ed3523a1916455fd93655a
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini8
1 files changed, 6 insertions, 2 deletions
diff --git a/tox.ini b/tox.ini
index 48351b60..c8910f5f 100644
--- a/tox.ini
+++ b/tox.ini
@@ -46,7 +46,9 @@ passenv = OS_NOVACLIENT_TEST_NETWORK
setenv =
{[testenv]setenv}
OS_TEST_PATH = ./novaclient/tests/functional
-commands = bash tools/pretty_tox.sh '--concurrency=1 {posargs}'
+commands =
+ bash tools/pretty_tox.sh '--concurrency=1 {posargs}'
+ python novaclient/tests/functional/hooks/check_resources.py
[testenv:functional-py35]
basepython = python3.5
@@ -54,7 +56,9 @@ passenv = OS_NOVACLIENT_TEST_NETWORK
setenv =
{[testenv]setenv}
OS_TEST_PATH = ./novaclient/tests/functional
-commands = bash tools/pretty_tox.sh '--concurrency=1 {posargs}'
+commands =
+ bash tools/pretty_tox.sh '--concurrency=1 {posargs}'
+ python novaclient/tests/functional/hooks/check_resources.py
[testenv:cover]
commands =