]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/commitdiff
test_system: slight refactoring to eventually make it easier to configure some nodes...
authorBrian Warner <warner@allmydata.com>
Thu, 10 Jan 2008 03:23:54 +0000 (20:23 -0700)
committerBrian Warner <warner@allmydata.com>
Thu, 10 Jan 2008 03:23:54 +0000 (20:23 -0700)
src/allmydata/test/test_system.py

index 43d8147d664f59700626657342c8c1ba2287da52..5389906b0bdf2b652b164dfc508fe5c93ad2c55c 100644 (file)
@@ -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")