#NEWLINE# def test_get_dom_id_works( self ) : #NEWLINE# #INDENT# instance = { #NEWLINE# #INDENT# 'name' : 'dummy' , #NEWLINE# #UNINDENT# } #NEWLINE# ( vm , vm_ref ) = self . create_vm ( 'dummy' ) #NEWLINE# self . assertEqual ( vm_ref [ 'domid' ] , self . vmops . _get_dom_id ( instance ) )