#NEWLINE# def test_group_update( self ) : #NEWLINE# #INDENT# values_before = { #NEWLINE# #INDENT# 'gid' : '12345678-1234-5678-9123-123456789012' , #NEWLINE# 'user_id' : 'user' , #NEWLINE# 'project_id' : 'user' , #NEWLINE# 'display_name' : 'My_group' , #NEWLINE# 'display_description' : 'This is my group.' , #NEWLINE# 'status' : 'active' , #NEWLINE# #UNINDENT# } #NEWLINE# group_before = db . group_create ( self . user_ctxt , values_before ) #NEWLINE# values = { #NEWLINE# #INDENT# 'gid' : group_before [ 'gid' ] , #NEWLINE# 'display_name' : 'My_group_updated' , #NEWLINE# 'display_description' : 'This is my group updated.' , #NEWLINE# #UNINDENT# } #NEWLINE# group = db . group_update ( self . user_ctxt , values ) #NEWLINE# ignored_keys = [ 'deleted' , 'deleted_at' , 'updated_at' , 'created_at' , 'user_id' , 'project_id' , 'status' ] #NEWLINE# self . _assertEqualObjects ( group , values , group )