#NEWLINE# def setUp( self ) : #NEWLINE# #INDENT# super ( TenantNetworksJsonTests , self ) . setUp ( ) #NEWLINE# CONF . set_override ( 'enable_network_quota' , True ) #NEWLINE# def fake( * args , **kwargs ) : #NEWLINE# #INDENT# pass #NEWLINE# #UNINDENT# self . stub_out ( 'nova.quota.QUOTAS.reserve' , fake ) #NEWLINE# self . stub_out ( 'nova.quota.QUOTAS.commit' , fake ) #NEWLINE# self . stub_out ( 'nova.quota.QUOTAS.rollback' , fake ) #NEWLINE# self . stub_out ( 'nova.quota.QuotaEngine.reserve' , fake ) #NEWLINE# self . stub_out ( 'nova.quota.QuotaEngine.commit' , fake ) #NEWLINE# self . stub_out ( 'nova.quota.QuotaEngine.rollback' , fake )