#NEWLINE# def test_anonymouse( self ) : #NEWLINE# #INDENT# '`Auth` anonymouse access' #NEWLINE# response = web . ask ( self . app , '/a' ) #NEWLINE# self . assertEqual ( response . status_int , 200 ) #NEWLINE# self . assertEqual ( response . body , 'ok' ) #NEWLINE# response = web . ask ( self . app , '/b' ) #NEWLINE# self . assertEqual ( response . status_int , 303 ) #NEWLINE# self . assertEqual ( response . headers [ 'Location' ] , '/login?next=/b' )