powervm: add test case for get_available_resource
powervm: add test case for get_available_resource

Change If9eee203b3cbb12963dc55e4215d206cb5d81264 is modifying the
get_available_resource method but didn't have a test to cover it,
because it never existed.  This patch adds the test.

Change-Id: Ifbef914f1b110b16fa98fdfec8cdcf5ad0a75a8e

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