From e1440705688426dc24f05ece003b9f2f7b4e68aa Mon Sep 17 00:00:00 2001 From: Jacky Hu Date: Sun, 17 Dec 2017 15:41:33 +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: I19c8728c4d6fe13bd021dbfe22797cf0572c8962 --- tox.ini | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tox.ini b/tox.ini index a3bb7665..fd644e1c 100644 --- a/tox.ini +++ b/tox.ini @@ -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]