Fix XMLMatcher error reporting
Fix XMLMatcher error reporting

The nova.tests.matchers.XMLMismatch class implements the
get_details() method returning a dictionary with the expect
and actual XML output. It is returning a string values, but
the testtools code requires that the dictionary values are
instances of the testtools.content.Content object.

To quote the 'get_details' docs on testtools.matchers.Mismatch

     :return: a dict mapping names to Content objects. name is a string to
         name the detail, and the Content object is the detail to add
         to the result. For more information see the API to which items from
         this dict are passed testtools.TestCase.addDetail.

Related bug #1130146
Change-Id: I75ec07d8b34b04c7b8009229fda49b344ed13bec
Signed-off-by: Daniel P. Berrange <bb938cf255e055ff3507f2627d214e8e62118fcf@redhat.com>

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