support stevedore >= 0.14
support stevedore >= 0.14

the previous mocks made some very specific assumptions about the
behavior of an internal private method in stevedore, which changed
in 0.14. Make the mocks more flexible so they work regardless.

Change-Id: I5063c652c705fd512f90ff3897a4c590f7ba7c02

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