test_system: slight refactoring to eventually make it easier to configure some nodes with the output of others

This commit is contained in:
Brian Warner 2008-01-09 20:23:54 -07:00
parent bc67f94546
commit 0e2ddb00be

View 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")