#NEWLINE# def test_setup_use_existing_share_networks_tenant_not_found( self ) : #NEWLINE# #INDENT# ctxt = copy . deepcopy ( ctxt . ctxt_use_existing ) #NEWLINE# ctxt . update ( { #NEWLINE# #INDENT# 'tenants' : { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } , #NEWLINE# #UNINDENT# } ) #NEWLINE# inst = manila_share_networks . ManilaShareNetworks ( ctxt ) #NEWLINE# self . assertRaises ( exceptions . ContextSetupFailure , inst . setup )