#NEWLINE# def test_setup_use_existing_share_networks_with_empty_list( self ) : #NEWLINE# #INDENT# ctxt = copy . deepcopy ( self . ctxt_use_existing ) #NEWLINE# ctxt [ 'config' ] [ consts . SHARE_NETWORKS_CONTEXT_NAME ] [ 'share_networks' ] = { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } #NEWLINE# inst = manila_share_networks . ManilaShareNetworks ( inst ) #NEWLINE# self . assertRaises ( exceptions . ContextSetupFailure , inst . setup )