#NEWLINE# def test_update_quotas_forbidden( self ) : #NEWLINE# #INDENT# tenant_id = 'tenant_id1' #NEWLINE# quotas = { #NEWLINE# #INDENT# 'quota' : { #NEWLINE# #INDENT# 'network' : 100 , #NEWLINE# #UNINDENT# } , #NEWLINE# #UNINDENT# } #NEWLINE# res = self . api . put ( _get_path ( 'quotas' , id = tenant_id , fmt = self . fmt ) , self . serialize ( quotas ) , expect_errors = True ) #NEWLINE# self . assertEqual ( 403 , self . status_int )