Make whitelist externals os agnostic

The exact path can vary in different operating systems, also this will
eliminate the following warning:
WARNING:test command found but not installed in testenv

Change-Id: I4a710922197ecd2dcb7500d93d1a895f88f6905e
(cherry picked from commit fec3d7f376)
This commit is contained in:
Jacky Hu 2017-12-17 15:45:27 +08:00
parent 746a158f24
commit ee71ff06b6
1 changed files with 2 additions and 2 deletions

View File

@ -16,8 +16,8 @@ setenv =
CLIENT_NAME=neutron-lbaas-dashboard
deps = -r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt
whitelist_externals = /usr/bin/npm
/bin/bash
whitelist_externals = npm
bash
commands = python manage.py test
[testenv:pep8]