#NEWLINE# def test_process_bad_json( self ) : #NEWLINE# #INDENT# transp = self . make_transport ( method = 'POST' ) #NEWLINE# transp . request . read = self . make_fut ( b'{]' ) #NEWLINE# resp = self . loop . run_until_complete ( transp . process ( ) ) #NEWLINE# self . assertEqual ( resp . status , 500 )