#NEWLINE# def test_access_denied_for_unauthenticated_users( self ) : #NEWLINE# #INDENT# response = self . app . get ( self . api_path , status = 401 ) #NEWLINE# self . assertEqual ( response . status_code , 401 )