#NEWLINE# def test_returns_401_when_not_logged_in( self ) : #NEWLINE# #INDENT# res = self . app . get ( self . user1_app_url , expect_errors = True ) #NEWLINE# assert_equal ( res . status_code , 401 )