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: I19c8728c4d6fe13bd021dbfe22797cf0572c8962
This commit is contained in:
Jacky Hu 2017-12-17 15:41:33 +08:00
parent 01645571dc
commit e144070568

View File

@ -16,8 +16,8 @@ setenv =
CLIENT_NAME=octavia-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]