#NEWLINE# def test_it_raises_if_permissions_has_no_read( self ) : #NEWLINE# #INDENT# schema = schemas . AnnotationSchema ( testing . DummyRequest ( ) ) #NEWLINE# with pytest . raises ( schemas . ValidationError ) as err : #NEWLINE# #INDENT# schema . validate ( self . valid_input_data ( permissions = { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } ) ) #NEWLINE# #UNINDENT# assert ( str ( schema . value ) == "permissions: 'read' is a required property" )