#NEWLINE# @ catch_notimplementederror #NEWLINE# def test_spawn( self ) : #NEWLINE# #INDENT# instance_ref = test_utils . get_test_instance ( ) #NEWLINE# network_info = test_utils . get_test_network_info ( ) #NEWLINE# self . connection . spawn ( self . ctxt , instance_ref , network_info ) #NEWLINE# domains = self . connection . list_instances ( ) #NEWLINE# self . assertIn ( instance_ref [ 'name' ] , domains ) #NEWLINE# domains_details = self . connection . list_instances_detail ( ) #NEWLINE# self . assertIn ( instance_ref [ 'name' ] , [ i . name for i in domains_details ] )