#NEWLINE# def test_custom_provider( self ) : #NEWLINE# #INDENT# response = self . fetch ( '/abc' ) #NEWLINE# self . assertEqual ( response . code , 200 ) #NEWLINE# self . assertEqual ( self . body , '{"surname": "Hanacek", "name": "Tomas"}' ) #NEWLINE# self . assertEqual ( response . headers [ 'Content-Type' ] , 'application/json; charset=utf-8' )