#NEWLINE# def test_get_dom_id_works_with_vmref( self ) : #NEWLINE# #INDENT# ( vm , vm_ref ) = self . create_vm ( 'dummy' ) #NEWLINE# self . assertEqual ( vm [ 'domid' ] , self . vmops . _get_dom_id ( vm_ref = vm ) )