Browse Source

Merge "fix tox python3 overrides"

Zuul 6 months ago
parent
commit
18bdc05e19
1 changed files with 4 additions and 0 deletions
  1. 4
    0
      tox.ini

+ 4
- 0
tox.ini View File

@@ -18,12 +18,15 @@ whitelist_externals = npm
18 18
 commands = python manage.py test neutron_lbaas_dashboard --settings=neutron_lbaas_dashboard.tests.settings
19 19
 
20 20
 [testenv:pep8]
21
+basepython = python3
21 22
 commands = flake8
22 23
 
23 24
 [testenv:venv]
25
+basepython = python3
24 26
 commands = {posargs}
25 27
 
26 28
 [testenv:cover]
29
+basepython = python3
27 30
 # npm must be installed on the system, for example
28 31
 # sudo apt-get install npm
29 32
 # sudo yum install npm (on RHEL/CentOS, enable EPEL repository)
@@ -31,6 +34,7 @@ commands = npm install
31 34
            npm test
32 35
 
33 36
 [testenv:docs]
37
+basepython = python3
34 38
 whitelist_externals = rm
35 39
 deps =
36 40
     -c{env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt}

Loading…
Cancel
Save