#NEWLINE# def test_it_renames_group_to_groupid( self ) : #NEWLINE# #INDENT# schema = schemas . AnnotationSchema ( testing . DummyRequest ( ) ) #NEWLINE# result = schema . validate ( annotation_data ( group = 'foo' ) ) #NEWLINE# assert ( result [ 'groupid' ] == 'foo' ) #NEWLINE# assert ( 'group' not in result )