summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZuul <zuul@review.opendev.org>2020-02-10 02:30:52 +0000
committerGerrit Code Review <review@openstack.org>2020-02-10 02:30:52 +0000
commit5b8f7548c54187e8c5cf4c1a5d22db13d44c24dc (patch)
treeb882e05d91ce8b4ec3ef6542c8ddfd24f9d83a49
parented23eb60d4674e7d50f9f13cc926d3e3bb4f1121 (diff)
parent22e928ac86c211de7824698d418dbf9a54b882bd (diff)
downloadhorizon-5b8f7548c54187e8c5cf4c1a5d22db13d44c24dc.tar.gz
Merge "Ensure python versions" into stable/rocky
-rw-r--r--tox.ini4
1 files changed, 3 insertions, 1 deletions
diff --git a/tox.ini b/tox.ini
index 8a4db6314..7a29b0503 100644
--- a/tox.ini
+++ b/tox.ini
@@ -94,13 +94,13 @@ setenv =
commands = {[unit_tests]commands}
[testenv:py27integration]
+basepython = python2.7
# Run integration tests only
passenv = AVCONV_INSTALLED
setenv =
PYTHONHASHSEED=0
INTEGRATION_TESTS=1
SELENIUM_HEADLESS=1
-basepython = python2.7
commands = {envpython} {toxinidir}/manage.py test openstack_dashboard --settings=openstack_dashboard.test.settings --verbosity 2 --tag integration {posargs}
[testenv:npm]
@@ -178,9 +178,11 @@ application-import-names = horizon,openstack_dashboard
local-check-factory = horizon.hacking.checks.factory
[testenv:bandit]
+basepython = python2.7
commands = bandit -r horizon openstack_auth openstack_dashboard -n5 -x tests -ll
[testenv:bandit-baseline]
+basepython = python2.7
envdir = {toxworkdir}/bandit
commands = bandit-baseline -r horizon openstack_auth openstack_dashboard -n5 -x tests -ii -ll