Decouple instance object tests from the api fakes module
Decouple instance object tests from the api fakes module

The instance tests were written back when the only non-db model of an instance
we had was in the api fakes module. That module is problematic in several ways,
but also needs to change to be non-db-focused soon. This patch converts
the instance object tests to use fake_db_instance to break it away from the api
fakes module.

Related to bp/drop-flavor-compat

Change-Id: Ib790dce76394ce64e9a0faed0f51cce08d256cd5

LoHChina/nova,CEG-FYP-OpenStack/scheduler,devendermishrajio/nova,dims/nova,mahak/nova,varunarya10/nova_test_latest,gooddata/openstack-nova,felixma/nova,cloudbase/nova,NeCTAR-RC/nova,klmitch/nova,iuliat/nova,zhimin711/nova,takeshineshiro/nova,takeshineshiro/nova,rajalokan/nova,klmitch/nova,vmturbo/nova,jianghuaw/nova,barnsnake351/nova,NeCTAR-RC/nova,BeyondTheClouds/nova,MountainWei/nova,j-carpentier/nova,edulramirez/nova,cernops/nova,cernops/nova,jianghuaw/nova,mahak/nova,gooddata/openstack-nova,dims/nova,gooddata/openstack-nova,Juniper/nova,JianyuWang/nova,barnsnake351/nova,nikesh-mahalka/nova,openstack/nova,isyippee/nova,rahulunair/nova,CEG-FYP-OpenStack/scheduler,zaina/nova,raildo/nova,Juniper/nova,rajalokan/nova,felixma/nova,fnordahl/nova,mmnelemane/nova,vmturbo/nova,mikalstill/nova,klmitch/nova,devendermishrajio/nova_test_latest,gooddata/openstack-nova,fnordahl/nova,ruslanloman/nova,shail2810/nova,scripnichenko/nova,zaina/nova,whitepages/nova,j-carpentier/nova,rahulunair/nova,vmturbo/nova,openstack/nova,devendermishrajio/nova,JioCloud/nova_test_latest,rajalokan/nova,edulramirez/nova,hanlind/nova,mmnelemane/nova,noironetworks/nova,hanlind/nova,devendermishrajio/nova_test_latest,alaski/nova,bigswitch/nova,Francis-Liu/animated-broccoli,isyippee/nova,rahulunair/nova,zhimin711/nova,Juniper/nova,cloudbase/nova,LoHChina/nova,BeyondTheClouds/nova,varunarya10/nova_test_latest,zzicewind/nova,BeyondTheClouds/nova,mikalstill/nova,apporc/nova,shail2810/nova,sebrandon1/nova,CCI-MOC/nova,vmturbo/nova,alaski/nova,raildo/nova,phenoxim/nova,cloudbase/nova,openstack/nova,cernops/nova,jianghuaw/nova,watonyweng/nova,JioCloud/nova_test_latest,TwinkleChawla/nova,JianyuWang/nova,hanlind/nova,jianghuaw/nova,mikalstill/nova,rajalokan/nova,CCI-MOC/nova,MountainWei/nova,Juniper/nova,whitepages/nova,mahak/nova,watonyweng/nova,ted-gould/nova,ted-gould/nova,zzicewind/nova,bigswitch/nova,cyx1231st/nova,scripnichenko/nova,sebrandon1/nova,yosshy/nova,Francis-Liu/animated-broccoli,akash1808/nova_test_latest,sebrandon1/nova,TwinkleChawla/nova,iuliat/nova,ruslanloman/nova,cyx1231st/nova,nikesh-mahalka/nova,apporc/nova,akash1808/nova_test_latest,yosshy/nova,noironetworks/nova,phenoxim/nova,klmitch/nova