X-Git-Url: http://average.org/gitweb/?a=blobdiff_plain;f=test%2Fcommon.py;h=7a863106309e61072511641a7a975f5e344abbdf;hb=refs%2Ftags%2F1.90;hp=284ca4d10c8509606dd6879f026c07f211104f83;hpb=16bea55924c0ab9d035f3e99573fc49c370de231;p=loctrkd.git diff --git a/test/common.py b/test/common.py index 284ca4d..7a86310 100644 --- a/test/common.py +++ b/test/common.py @@ -23,6 +23,8 @@ from time import sleep from typing import Optional from unittest import TestCase +from loctrkd.common import init_protocols + NUMPORTS = 3 @@ -49,6 +51,7 @@ class TestWithServers(TestCase): } self.conf["storage"] = { "dbfn": self.tmpfilebase + ".storage.sqlite", + "events": "yes", } self.conf["opencellid"] = { "dbfn": self.tmpfilebase + ".opencellid.sqlite", @@ -61,6 +64,7 @@ class TestWithServers(TestCase): self.conf["wsgateway"] = { "port": str(freeports[1]), } + init_protocols(self.conf) self.children = [] for srvname in args: if srvname == "collector":