From 0e2ddb00be72df6742a88b59b011b0249c87a73f Mon Sep 17 00:00:00 2001 From: Brian Warner Date: Wed, 9 Jan 2008 20:23:54 -0700 Subject: [PATCH] test_system: slight refactoring to eventually make it easier to configure some nodes with the output of others --- src/allmydata/test/test_system.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/allmydata/test/test_system.py b/src/allmydata/test/test_system.py index 43d8147d..5389906b 100644 --- a/src/allmydata/test/test_system.py +++ b/src/allmydata/test/test_system.py @@ -73,6 +73,10 @@ class SystemTest(testutil.SignalMixin, unittest.TestCase): fileutil.make_dirs(os.path.join(basedir, "private")) open(os.path.join(basedir, "private", "root_dir.cap"), "w") open(os.path.join(basedir, "introducer.furl"), "w").write(self.introducer_furl) + + # this starts all the clients + for i in range(self.numclients): + basedir = self.getdir("client%d" % i) c = self.add_service(client.Client(basedir=basedir)) self.clients.append(c) log.msg("STARTING") -- 2.45.2