fixed tests to work with random PYTHONHASHSEED
fixed tests to work with random PYTHONHASHSEED

fixed test in:
	nova/tests/unit/compute/test_compute.py
previous test implementation based on direct relationship
between flavor.id and flavor.flavorid, which is not
guarantied by sqlalchemy migration scripts

Partial-Bug: #1348818

Change-Id: I1cb2c23ff59ea8145811eebb2ab88ba8158661f6

j-carpentier/nova,yatinkumbhare/openstack-nova,TwinkleChawla/nova,JianyuWang/nova,cloudbase/nova,Francis-Liu/animated-broccoli,Juniper/nova,CCI-MOC/nova,thomasem/nova,petrutlucian94/nova,openstack/nova,klmitch/nova,Francis-Liu/animated-broccoli,dawnpower/nova,alvarolopez/nova,rahulunair/nova,akash1808/nova,cloudbase/nova-virtualbox,alexandrucoman/vbox-nova-driver,felixma/nova,fnordahl/nova,devendermishrajio/nova_test_latest,rajalokan/nova,jianghuaw/nova,edulramirez/nova,CCI-MOC/nova,JioCloud/nova_test_latest,nikesh-mahalka/nova,fnordahl/nova,Tehsmash/nova,zhimin711/nova,LoHChina/nova,vmturbo/nova,cloudbase/nova-virtualbox,isyippee/nova,shail2810/nova,kimjaejoong/nova,bigswitch/nova,varunarya10/nova_test_latest,Juniper/nova,CEG-FYP-OpenStack/scheduler,mmnelemane/nova,TwinkleChawla/nova,alaski/nova,scripnichenko/nova,rahulunair/nova,yosshy/nova,whitepages/nova,gooddata/openstack-nova,whitepages/nova,CloudServer/nova,BeyondTheClouds/nova,tangfeixiong/nova,openstack/nova,zaina/nova,bgxavier/nova,JioCloud/nova,zzicewind/nova,devendermishrajio/nova,BeyondTheClouds/nova,mikalstill/nova,jianghuaw/nova,zaina/nova,JianyuWang/nova,hanlind/nova,Stavitsky/nova,eonpatapon/nova,mandeepdhami/nova,alaski/nova,cernops/nova,thomasem/nova,zzicewind/nova,cyx1231st/nova,Yusuke1987/openstack_template,tangfeixiong/nova,vmturbo/nova,raildo/nova,tudorvio/nova,edulramirez/nova,tealover/nova,j-carpentier/nova,akash1808/nova,devendermishrajio/nova,gooddata/openstack-nova,zhimin711/nova,mandeepdhami/nova,alexandrucoman/vbox-nova-driver,ruslanloman/nova,JioCloud/nova,blueboxgroup/nova,varunarya10/nova_test_latest,alvarolopez/nova,hanlind/nova,petrutlucian94/nova,gooddata/openstack-nova,joker946/nova,yosshy/nova,NeCTAR-RC/nova,mahak/nova,cernops/nova,takeshineshiro/nova,Stavitsky/nova,jeffrey4l/nova,kimjaejoong/nova,jianghuaw/nova,dims/nova,nikesh-mahalka/nova,ted-gould/nova,iuliat/nova,sebrandon1/nova,barnsnake351/nova,adelina-t/nova,double12gzh/nova,iuliat/nova,belmiromoreira/nova,shail2810/nova,vmturbo/nova,ted-gould/nova,mikalstill/nova,noironetworks/nova,mahak/nova,gooddata/openstack-nova,barnsnake351/nova,JioCloud/nova_test_latest,cyx1231st/nova,rajalokan/nova,vmturbo/nova,belmiromoreira/nova,scripnichenko/nova,CloudServer/nova,tudorvio/nova,MountainWei/nova,cernops/nova,dawnpower/nova,yatinkumbhare/openstack-nova,apporc/nova,akash1808/nova_test_latest,takeshineshiro/nova,sebrandon1/nova,openstack/nova,watonyweng/nova,mahak/nova,apporc/nova,mikalstill/nova,MountainWei/nova,jianghuaw/nova,devendermishrajio/nova_test_latest,bgxavier/nova,hanlind/nova,Juniper/nova,noironetworks/nova,ruslanloman/nova,watonyweng/nova,NeCTAR-RC/nova,raildo/nova,LoHChina/nova,joker946/nova,double12gzh/nova,klmitch/nova,Tehsmash/nova,felixma/nova,Yusuke1987/openstack_template,rajalokan/nova,sebrandon1/nova,eonpatapon/nova,phenoxim/nova,isyippee/nova,klmitch/nova,tealover/nova,akash1808/nova_test_latest,jeffrey4l/nova,phenoxim/nova,bigswitch/nova,BeyondTheClouds/nova,Juniper/nova,blueboxgroup/nova,mmnelemane/nova,klmitch/nova,adelina-t/nova,dims/nova,CEG-FYP-OpenStack/scheduler,cloudbase/nova,rajalokan/nova,cloudbase/nova,rahulunair/nova