#NEWLINE# def test_list_quotas_without_admin_forbidden_returns_403( self ) : #NEWLINE# #INDENT# tenant_id = 'tenant_id1' #NEWLINE# env = { #NEWLINE# #INDENT# 'neutron.context' : context . Context ( '' , tenant_id , is_admin = False ) , #NEWLINE# #UNINDENT# } #NEWLINE# res = self . api . get ( _get_path ( 'quotas' , fmt = self . fmt ) , extra_environ = env , expect_errors = True ) #NEWLINE# self . assertEqual ( 403 , res . status_int )