#NEWLINE# def test_logout( self ) : #NEWLINE# #INDENT# " need to import environ for SERVER_NAME and HOST_NAME\n        since we're dealing with cookies.\n        " #NEWLINE# request = testing . DummyRequest ( environ = environ ) #NEWLINE# request . context = testing . DummyResource ( ) #NEWLINE# response = apex . views . logout ( request ) #NEWLINE# self . assertEqual ( '302 Found' , response . status )