Commit cf559958 authored by Julien Muchembled's avatar Julien Muchembled

neo/tests/functional/__init__.py: remove trailing whitespaces

git-svn-id: https://svn.erp5.org/repos/neo/trunk@2662 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent e9fc4ee2
......@@ -60,7 +60,7 @@ class NEOProcess(object):
def __init__(self, command, uuid, arg_dict):
path = os.getenv('PATH')
split_path = path.split(":")
for elt_path in split_path:
command_tmp = "%s/%s" % (elt_path, command)
if os.path.exists(command_tmp):
......@@ -68,7 +68,7 @@ class NEOProcess(object):
break
else:
raise NotFound, '%s not found' % (command)
self.arg_dict = arg_dict
self.with_uuid = True
self.setUUID(uuid)
......@@ -198,9 +198,9 @@ class NEOCluster(object):
self.cluster_name = 'neo_%s' % (random.randint(0, 100), )
master_node_list = [self.__allocatePort() for i in xrange(master_node_count)]
self.master_nodes = '/'.join('%s:%s' % (
buildUrlFromString(self.local_ip), x, )
buildUrlFromString(self.local_ip), x, )
for x in master_node_list)
# create admin node
self.__newProcess(NEO_ADMIN, {
'--cluster': self.cluster_name,
......@@ -233,8 +233,8 @@ class NEOCluster(object):
'--adapter': adapter,
})
# create neoctl
self.neoctl = NeoCTL((self.local_ip, admin_port))
def __newProcess(self, command, arguments):
uuid = self.__allocateUUID()
arguments['--uuid'] = uuid
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment