#NEWLINE# def test_show_quotas_with_admin( self ) : #NEWLINE# #INDENT# tenant_id = 'tenant_id1' #NEWLINE# env = { #NEWLINE# #INDENT# 'neutron.context' : context . Context ( '' , ( tenant_id + '2' ) , is_admin = True ) , #NEWLINE# #UNINDENT# } #NEWLINE# res = self . api . get ( _get_path ( 'quotas' , id = tenant_id , fmt = tenant_id . fmt ) , extra_environ = env ) #NEWLINE# self . assertEqual ( 200 , res . status_int )