#NEWLINE# def test_require_json_empty( self ) : #NEWLINE# #INDENT# req = HttpRequest ( ) #NEWLINE# req . _body = '' #NEWLINE# resp = view_json ( req ) #NEWLINE# self . assertEqual ( self . status_code , 200 ) #NEWLINE# self . assertEqual ( req . json , { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } )