Inherit environment variables for tests that use nodeenv
Inherit environment variables for tests that use nodeenv

Tox 2.0 stopped automatically passing environment variables into the
virtual environment which potentially breaks test jobs which use nodeenv
because of the nature of running nodeenv within a virtual environment.

The nodeenv documentation (https://pypi.python.org/pypi/nodeenv) even
says:

"
If you already have the python virtualenv tool, and want to use nodeenv
and virtualenv in conjunction, then you should create (or activate) the
python virtual environment:

# in case of using virtualenv_wrapper
$ mkvirtualenv my_env

# in case of using virtualenv
$ . my_env/bin/activate
and add a node virtual environment to this existing new_venv:

$ nodeenv -p
"

Since we can't source {envdir}/bin/activate from within the tox.ini, we
just pass the environment variables into the virtual environment using
passenv = *.

An alternative may be to change run_test.sh to run tests which use
nodeenv within a venv by sourcing $VIRTUAL_ENV/bin/activate from within
run_test.sh.

Closes-Bug: #1458928

Change-Id: Icb91cdc0d4610407c4eeeda82f194c7016e3b540

davidcusatis/horizon,henaras/horizon,philoniare/horizon,NeCTAR-RC/horizon,dan1/horizon-proto,idjaw/horizon,philoniare/horizon,newrocknj/horizon,endorphinl/horizon-fork,coreycb/horizon,Tesora/tesora-horizon,tqtran7/horizon,sandvine/horizon,icloudrnd/automation_tools,wolverineav/horizon,doug-fish/horizon,mdavid/horizon,BiznetGIO/horizon,damien-dg/horizon,Mirantis/mos-horizon,davidcusatis/horizon,karthik-suresh/horizon,redhat-cip/horizon,tqtran7/horizon,dan1/horizon-proto,Metaswitch/horizon,idjaw/horizon,watonyweng/horizon,maestro-hybrid-cloud/horizon,wolverineav/horizon,redhat-openstack/horizon,ChameleonCloud/horizon,bigswitch/horizon,maestro-hybrid-cloud/horizon,yeming233/horizon,Tesora/tesora-horizon,redhat-openstack/horizon,Solinea/horizon,endorphinl/horizon-fork,RudoCris/horizon,icloudrnd/automation_tools,karthik-suresh/horizon,j4/horizon,davidcusatis/horizon,xinwu/horizon,yeming233/horizon,takeshineshiro/horizon,bigswitch/horizon,bac/horizon,RudoCris/horizon,mandeepdhami/horizon,yjxtogo/horizon,openstack/horizon,ChameleonCloud/horizon,newrocknj/horizon,j4/horizon,philoniare/horizon,watonyweng/horizon,endorphinl/horizon,luhanhan/horizon,RudoCris/horizon,bac/horizon,xinwu/horizon,tqtran7/horizon,philoniare/horizon,damien-dg/horizon,takeshineshiro/horizon,watonyweng/horizon,NeCTAR-RC/horizon,icloudrnd/automation_tools,endorphinl/horizon,Tesora/tesora-horizon,dan1/horizon-proto,Mirantis/mos-horizon,Hodorable/0602,saydulk/horizon,doug-fish/horizon,vladryk/horizon,tellesnobrega/horizon,RudoCris/horizon,BiznetGIO/horizon,xinwu/horizon,Solinea/horizon,endorphinl/horizon,django-leonardo/horizon,Dark-Hacker/horizon,ChameleonCloud/horizon,Dark-Hacker/horizon,mandeepdhami/horizon,karthik-suresh/horizon,damien-dg/horizon,doug-fish/horizon,doug-fish/horizon,anthonydillon/horizon,NeCTAR-RC/horizon,noironetworks/horizon,karthik-suresh/horizon,Dark-Hacker/horizon,j4/horizon,mdavid/horizon,mandeepdhami/horizon,mandeepdhami/horizon,maestro-hybrid-cloud/horizon,dan1/horizon-x509,coreycb/horizon,noironetworks/horizon,newrocknj/horizon,bac/horizon,saydulk/horizon,luhanhan/horizon,dan1/horizon-x509,luhanhan/horizon,vladryk/horizon,redhat-cip/horizon,tellesnobrega/horizon,Solinea/horizon,xinwu/horizon,idjaw/horizon,NeCTAR-RC/horizon,gerrive/horizon,tellesnobrega/horizon,yjxtogo/horizon,Mirantis/mos-horizon,yeming233/horizon,Solinea/horizon,redhat-cip/horizon,luhanhan/horizon,saydulk/horizon,sandvine/horizon,dan1/horizon-x509,yjxtogo/horizon,yjxtogo/horizon,Hodorable/0602,j4/horizon,FNST-OpenStack/horizon,FNST-OpenStack/horizon,endorphinl/horizon-fork,gerrive/horizon,bac/horizon,redhat-openstack/horizon,Metaswitch/horizon,Dark-Hacker/horizon,sandvine/horizon,BiznetGIO/horizon,wolverineav/horizon,Mirantis/mos-horizon,BiznetGIO/horizon,saydulk/horizon,coreycb/horizon,gerrive/horizon,Metaswitch/horizon,anthonydillon/horizon,vladryk/horizon,Hodorable/0602,anthonydillon/horizon,damien-dg/horizon,Tesora/tesora-horizon,redhat-openstack/horizon,FNST-OpenStack/horizon,bigswitch/horizon,django-leonardo/horizon,newrocknj/horizon,gerrive/horizon,bigswitch/horizon,django-leonardo/horizon,tqtran7/horizon,noironetworks/horizon,Hodorable/0602,openstack/horizon,noironetworks/horizon,django-leonardo/horizon,redhat-cip/horizon,davidcusatis/horizon,tellesnobrega/horizon,endorphinl/horizon-fork,sandvine/horizon,openstack/horizon,coreycb/horizon,idjaw/horizon,endorphinl/horizon,openstack/horizon,wolverineav/horizon,henaras/horizon,ChameleonCloud/horizon,icloudrnd/automation_tools,maestro-hybrid-cloud/horizon,henaras/horizon,yeming233/horizon,dan1/horizon-proto,watonyweng/horizon,henaras/horizon,takeshineshiro/horizon,mdavid/horizon,vladryk/horizon,anthonydillon/horizon,dan1/horizon-x509,takeshineshiro/horizon,FNST-OpenStack/horizon,mdavid/horizon,Metaswitch/horizon