Merge "fix tox python3 overrides"

This commit is contained in:
Zuul 2018-10-03 17:57:34 +00:00 committed by Gerrit Code Review
commit 18bdc05e19
1 changed files with 4 additions and 0 deletions

View File

@ -18,12 +18,15 @@ whitelist_externals = npm
commands = python manage.py test neutron_lbaas_dashboard --settings=neutron_lbaas_dashboard.tests.settings
[testenv:pep8]
basepython = python3
commands = flake8
[testenv:venv]
basepython = python3
commands = {posargs}
[testenv:cover]
basepython = python3
# npm must be installed on the system, for example
# sudo apt-get install npm
# sudo yum install npm (on RHEL/CentOS, enable EPEL repository)
@ -31,6 +34,7 @@ commands = npm install
npm test
[testenv:docs]
basepython = python3
whitelist_externals = rm
deps =
-c{env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt}