#NEWLINE# def test_it_raises_if_uri_is_not_a_string( self ) : #NEWLINE# #INDENT# schema = schemas . AnnotationSchema ( testing . DummyRequest ( ) ) #NEWLINE# with pytest . raises ( schemas . ValidationError ) as err : #NEWLINE# #INDENT# schema . validate ( self . valid_input_data ( uri = False ) ) #NEWLINE# #UNINDENT# assert ( str ( err . value ) == "uri: False is not of type 'string'" )