Fix race in unit tests, which can cause gate job to fail
Fix race in unit tests, which can cause gate job to fail

The FakeLibvirtTests.test_openAuth_can_refuse_None_uri test changes the value
of the global variable allow_default_uri_connection. We need to clean up this
change up after running this test so as we don't effect other tests that
expect the value of this variable to be the default.

In particular this test was running before the
LibvirtNonblockingTestCase.test_tpool_execute_calls_libvirt which ran when
the value was changed causing this test to fail. This only occurred when we
the test_libvirt used the fake libvirt driver, which happens when the tests
run inside a virtualenv environment.

Change-Id: I68c30dffd05daae6c0d5fbc6ec005c0fab4f09be
Closes-Bug: 1258553

tanglei528/nova,zaina/nova,barnsnake351/nova,mahak/nova,blueboxgroup/nova,luogangyi/bcec-nova,barnsnake351/nova,openstack/nova,Yusuke1987/openstack_template,ted-gould/nova,projectcalico/calico-nova,berrange/nova,mikalstill/nova,rajalokan/nova,bigswitch/nova,gooddata/openstack-nova,orbitfp7/nova,virtualopensystems/nova,angdraug/nova,eonpatapon/nova,felixma/nova,sebrandon1/nova,tudorvio/nova,badock/nova,akash1808/nova_test_latest,Francis-Liu/animated-broccoli,fnordahl/nova,JioCloud/nova_test_latest,vmturbo/nova,sebrandon1/nova,raildo/nova,iuliat/nova,leilihh/novaha,isyippee/nova,yosshy/nova,affo/nova,MountainWei/nova,LoHChina/nova,CEG-FYP-OpenStack/scheduler,kimjaejoong/nova,leilihh/novaha,tianweizhang/nova,whitepages/nova,cernops/nova,phenoxim/nova,jeffrey4l/nova,maelnor/nova,vmturbo/nova,rahulunair/nova,bgxavier/nova,thomasem/nova,JioCloud/nova,openstack/nova,JianyuWang/nova,shail2810/nova,mikalstill/nova,iuliat/nova,JioCloud/nova_test_latest,tianweizhang/nova,Yusuke1987/openstack_template,Tehsmash/nova,akash1808/nova,virtualopensystems/nova,Stavitsky/nova,raildo/nova,devendermishrajio/nova_test_latest,cyx1231st/nova,spring-week-topos/nova-week,gooddata/openstack-nova,hanlind/nova,blueboxgroup/nova,alvarolopez/nova,nikesh-mahalka/nova,petrutlucian94/nova,devendermishrajio/nova,double12gzh/nova,klmitch/nova,kimjaejoong/nova,apporc/nova,takeshineshiro/nova,akash1808/nova,JianyuWang/nova,zhimin711/nova,sacharya/nova,vladikr/nova_drafts,Juniper/nova,yatinkumbhare/openstack-nova,TwinkleChawla/nova,edulramirez/nova,OpenAcademy-OpenStack/nova-scheduler,mgagne/nova,vmturbo/nova,redhat-openstack/nova,j-carpentier/nova,NeCTAR-RC/nova,rajalokan/nova,angdraug/nova,CCI-MOC/nova,openstack/nova,mahak/nova,tealover/nova,joker946/nova,cyx1231st/nova,viggates/nova,devoid/nova,rahulunair/nova,vladikr/nova_drafts,Juniper/nova,CCI-MOC/nova,cloudbase/nova-virtualbox,cloudbase/nova,rrader/nova-docker-plugin,bgxavier/nova,BeyondTheClouds/nova,MountainWei/nova,adelina-t/nova,alaski/nova,noironetworks/nova,CiscoSystems/nova,spring-week-topos/nova-week,eayunstack/nova,devendermishrajio/nova,cernops/nova,BeyondTheClouds/nova,saleemjaveds/https-github.com-openstack-nova,zhimin711/nova,isyippee/nova,badock/nova,tangfeixiong/nova,dawnpower/nova,rajalokan/nova,ruslanloman/nova,dawnpower/nova,klmitch/nova,eayunstack/nova,tudorvio/nova,zzicewind/nova,NeCTAR-RC/nova,tanglei528/nova,Stavitsky/nova,Tehsmash/nova,ewindisch/nova,mandeepdhami/nova,rajalokan/nova,scripnichenko/nova,CloudServer/nova,phenoxim/nova,petrutlucian94/nova,Metaswitch/calico-nova,mandeepdhami/nova,rrader/nova-docker-plugin,affo/nova,viggates/nova,jeffrey4l/nova,sacharya/nova,petrutlucian94/nova_dev,watonyweng/nova,devendermishrajio/nova_test_latest,CloudServer/nova,alvarolopez/nova,CiscoSystems/nova,luogangyi/bcec-nova,noironetworks/nova,maelnor/nova,belmiromoreira/nova,alexandrucoman/vbox-nova-driver,mmnelemane/nova,mmnelemane/nova,LoHChina/nova,yatinkumbhare/openstack-nova,leilihh/nova,jianghuaw/nova,felixma/nova,edulramirez/nova,Francis-Liu/animated-broccoli,dims/nova,belmiromoreira/nova,cloudbase/nova,yosshy/nova,alexandrucoman/vbox-nova-driver,varunarya10/nova_test_latest,fnordahl/nova,jianghuaw/nova,klmitch/nova,shahar-stratoscale/nova,bigswitch/nova,redhat-openstack/nova,dims/nova,mahak/nova,mikalstill/nova,sebrandon1/nova,berrange/nova,apporc/nova,thomasem/nova,Juniper/nova,ted-gould/nova,j-carpentier/nova,Metaswitch/calico-nova,eonpatapon/nova,klmitch/nova,shail2810/nova,cernops/nova,zzicewind/nova,scripnichenko/nova,Juniper/nova,watonyweng/nova,silenceli/nova,rahulunair/nova,leilihh/nova,petrutlucian94/nova_dev,jianghuaw/nova,hanlind/nova,cloudbase/nova-virtualbox,CEG-FYP-OpenStack/scheduler,jianghuaw/nova,joker946/nova,OpenAcademy-OpenStack/nova-scheduler,alaski/nova,vmturbo/nova,projectcalico/calico-nova,tangfeixiong/nova,whitepages/nova,eharney/nova,varunarya10/nova_test_latest,takeshineshiro/nova,cloudbase/nova,silenceli/nova,JioCloud/nova,gooddata/openstack-nova,shahar-stratoscale/nova,orbitfp7/nova,zaina/nova,hanlind/nova,BeyondTheClouds/nova,adelina-t/nova,double12gzh/nova,ewindisch/nova,devoid/nova,eharney/nova,TwinkleChawla/nova,akash1808/nova_test_latest,ruslanloman/nova,tealover/nova,mgagne/nova,gooddata/openstack-nova,saleemjaveds/https-github.com-openstack-nova,nikesh-mahalka/nova