Allow Chrome to start when tox is running npm
Chrome in *nix environments requires the HOME and DISPLAY variables to be set for Chrome to start properlyi when running the 'npm' rule. The HOME variable is needed so Chrome can load up the user's preferences. The DISPLAY variable is needed so it know what display to launch Chrome into. Change-Id: I84f4d1d47f065158e8f5bf5691c241061cc16aab Closes-Bug: #1684321
This commit is contained in:
parent
612c2e5e95
commit
989e10e7a5
3
tox.ini
3
tox.ini
@ -96,6 +96,9 @@ basepython = python2.7
|
||||
commands = nosetests openstack_dashboard.test.integration_tests {posargs}
|
||||
|
||||
[testenv:npm]
|
||||
passenv =
|
||||
HOME
|
||||
DISPLAY
|
||||
commands =
|
||||
nodeenv -p
|
||||
npm install
|
||||
|
Loading…
x
Reference in New Issue
Block a user