Skip to content
Snippets Groups Projects
Commit 4663811c authored by Grigorii Demidov's avatar Grigorii Demidov
Browse files

tests: run testserver at allocation

parent e7ae2072
No related branches found
No related tags found
No related merge requests found
......@@ -86,6 +86,7 @@ class TestServer:
self.peer_iface = p_iface
self.map_adresses()
self.start()
def __del__(self):
......@@ -100,7 +101,8 @@ class TestServer:
if TEST_DEBUG > 0:
syn_print(None, "start")
if self.active is True:
raise Exception('TestServer already started')
if TEST_DEBUG > 0:
syn_print(None, "TestServer already started")
self.active = True
self.start_srv(self.kroot_local, self.kroot_family)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment