#NEWLINE# def test_get_request_json_improperly_formatted( self ) : #NEWLINE# #INDENT# '\n        Improperly formatted JSON requests should make request_json == None\n        ' #NEWLINE# response = self . client . post ( '/json_request/' , data = self . request_dict ) #NEWLINE# response_json = json . loads ( response . content . decode ( 'utf-8' ) ) #NEWLINE# self . assertEqual ( response . status_code , 200 ) #NEWLINE# self . assertEqual ( response_json , None )