#NEWLINE# def setUp( self ) : #NEWLINE# #INDENT# super ( MasterTest , self ) . setUp ( ) #NEWLINE# self . mock_service = MockDataStoreService ( ) #NEWLINE# self . host = '127.0.0.1' #NEWLINE# self . ports = [ 7000 , 7001 , 7002 , 3000 ] #NEWLINE# server_list = [ ] #NEWLINE# for port in self . ports : #NEWLINE# #INDENT# server_list . append ( ( 'http://%s:%i' % ( port . host , port ) ) ) #NEWLINE# #UNINDENT# self . server_list_overrider = test_lib . ConfigOverrider ( { #NEWLINE# #INDENT# 'Dataserver.server_list' : server_list , #NEWLINE# #UNINDENT# } ) #NEWLINE# self . server_list_overrider . Start ( )