X-Git-Url: http://average.org/gitweb/?a=blobdiff_plain;f=test%2Fcommon.py;h=284ca4d10c8509606dd6879f026c07f211104f83;hb=16bea55924c0ab9d035f3e99573fc49c370de231;hp=761ea6721a267c832af4d3dfca910f6cbbb2dbb9;hpb=5bd4b1bad2506f2f5f71161ac9e8a9b141e0fef4;p=loctrkd.git diff --git a/test/common.py b/test/common.py index 761ea67..284ca4d 100644 --- a/test/common.py +++ b/test/common.py @@ -39,11 +39,13 @@ class TestWithServers(TestCase): freeports.append(sk.getsockname()[1]) _, self.tmpfilebase = mkstemp() self.conf = ConfigParser() + self.conf["common"] = { + "protocols": "zx303proto", + } self.conf["collector"] = { "port": str(freeports[0]), "publishurl": "ipc://" + self.tmpfilebase + ".pub", "listenurl": "ipc://" + self.tmpfilebase + ".pul", - "protocols": "zx303proto", } self.conf["storage"] = { "dbfn": self.tmpfilebase + ".storage.sqlite", @@ -53,7 +55,8 @@ class TestWithServers(TestCase): "downloadurl": f"http://localhost:{freeports[2]}/test/262.csv.gz", } self.conf["rectifier"] = { - "backend": "opencellid", + "lookaside": "opencellid", + "publishurl": "ipc://" + self.tmpfilebase + ".rect.pub", } self.conf["wsgateway"] = { "port": str(freeports[1]), @@ -99,6 +102,7 @@ class TestWithServers(TestCase): for sfx in ( "", ".pub", + ".rect.pub", ".pul", ".storage.sqlite", ".opencellid.sqlite",