from typing import Optional
from unittest import TestCase
+from loctrkd.common import init_protocols
+
NUMPORTS = 3
}
self.conf["storage"] = {
"dbfn": self.tmpfilebase + ".storage.sqlite",
+ "events": "yes",
}
self.conf["opencellid"] = {
"dbfn": self.tmpfilebase + ".opencellid.sqlite",
}
self.conf["rectifier"] = {
"lookaside": "opencellid",
+ "publishurl": "ipc://" + self.tmpfilebase + ".rect.pub",
}
self.conf["wsgateway"] = {
"port": str(freeports[1]),
}
+ init_protocols(self.conf)
self.children = []
for srvname in args:
if srvname == "collector":
for sfx in (
"",
".pub",
+ ".rect.pub",
".pul",
".storage.sqlite",
".opencellid.sqlite",