#NEWLINE# def test_it_does_not_crash_if_data_contains_no_target( self ) : #NEWLINE# #INDENT# schema = schemas . AnnotationSchema ( testing . DummyRequest ( ) ) #NEWLINE# data = annotation_data ( ) #NEWLINE# assert ( 'target' not in data ) #NEWLINE# schema . validate ( data )