]> www.average.org Git - loctrkd.git/blobdiff - test/common.py
abstract protocol selection in `common`
[loctrkd.git] / test / common.py
index 284ca4d10c8509606dd6879f026c07f211104f83..58954a2b217acbd0fa5a930476cee1882dea8ff1 100644 (file)
@@ -23,6 +23,8 @@ from time import sleep
 from typing import Optional
 from unittest import TestCase
 
+from loctrkd.common import init_protocols
+
 NUMPORTS = 3
 
 
@@ -61,6 +63,7 @@ class TestWithServers(TestCase):
         self.conf["wsgateway"] = {
             "port": str(freeports[1]),
         }
+        init_protocols(self.conf)
         self.children = []
         for srvname in args:
             if srvname == "collector":