Make quota rollback checks more robust in conductor tests
Make quota rollback checks more robust in conductor tests

The existing cold migrate tests in conductor were mocking out the quota
object's rollback method but not actually validating that the quota
object is constructed properly or that the quota.QUOTAS.rollback static
method was called with the correct project_id and user_id given the
context and instance being used.  This patches makes the tests more
robust by not just making sure a method is called but that it's called
correctly.

Related-Bug: #1296502

Change-Id: Ib367d728b6bd50998db32d235f41212d0f94a8f7

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