From ee71ff06b6c7a4cec3ae4bde6f72bd6e19b16137 Mon Sep 17 00:00:00 2001 From: Jacky Hu Date: Sun, 17 Dec 2017 15:45:27 +0800 Subject: [PATCH] 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 fec3d7f376c60ebccde730b193c6dfac8db568a8) --- tox.ini | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tox.ini b/tox.ini index 1d81f8e..3413565 100644 --- a/tox.ini +++ b/tox.ini @@ -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]