Browse Source

Merge "Ensure python versions" into stable/rocky

stable/rocky
Zuul 1 week ago
parent
commit
5b8f7548c5
1 changed files with 3 additions and 1 deletions
  1. +3
    -1
      tox.ini

+ 3
- 1
tox.ini View File

@@ -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


Loading…
Cancel
Save