#NEWLINE# @ catch_notimplementederror #NEWLINE# def test_snapshot_running( self ) : #NEWLINE# #INDENT# img_ref = self . image_service . create ( self . ctxt , { #NEWLINE# #INDENT# 'name' : 'snap-1' , #NEWLINE# #UNINDENT# } ) #NEWLINE# ( instance_ref , network_info ) = self . _get_running_instance ( ) #NEWLINE# self . connection . snapshot ( self . ctxt , instance_ref , img_ref [ 'id' ] , ( lambda * args , **kwargs : None ) )