VMware: remove duplicate _fake_create_session code
VMware: remove duplicate _fake_create_session code

This patch pulls the _fake_create_session method out so it can be reused
across tests rather than duplicated it.

Change-Id: Ie3979a84568571b2f1f63e01c6c5fb6966f0333a
Closes-bug: 1312472

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