#NEWLINE# def test_group_delete( self ) : #NEWLINE# #INDENT# values_before = { #NEWLINE# #INDENT# 'gid' : self . gid , #NEWLINE# 'user_id' : 'user_id' , #NEWLINE# 'project_id' : 'project_id' , #NEWLINE# 'display_name' : 'My_group' , #NEWLINE# 'display_description' : 'This is my group.' , #NEWLINE# 'status' : 'active' , #NEWLINE# #UNINDENT# } #NEWLINE# db . group_create ( self . user_ctxt , self ) #NEWLINE# deleted_group = db . group_delete ( self . ctxt , self . gid ) #NEWLINE# self . assertEqual ( deleted_group [ 'deleted' ] , 1 ) #NEWLINE# self . assertEqual ( deleted_group [ 'status' ] , 'DELETING' ) #NEWLINE# self . assertIsNotNone ( deleted_group . get ( 'deleted_at' ) )