From: Brian Warner Date: Thu, 10 Jan 2008 03:23:54 +0000 (-0700) Subject: test_system: slight refactoring to eventually make it easier to configure some nodes... X-Git-Url: https://git.rkrishnan.org/frontends/banana.xhtml?a=commitdiff_plain;h=0e2ddb00be72df6742a88b59b011b0249c87a73f;p=tahoe-lafs%2Ftahoe-lafs.git test_system: slight refactoring to eventually make it easier to configure some nodes with the output of others --- 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")