diff --git a/tests/__init__.py b/tests/__init__.py index 231b8a0..f9474a9 100644 --- a/tests/__init__.py +++ b/tests/__init__.py @@ -16,13 +16,7 @@ vbanrs = {kind.id: vbancmd.connect(_kind, **opts) for kind in kinds.all} tests = vbanrs[_kind] def setup_package(): - tests._modes = Modes() - tests._rt_packet_socket.bind((socket.gethostbyname(socket.gethostname()), tests._port)) - tests.worker = Thread(target=tests._send_register_rt, daemon=True) - tests.worker.start() - tests._public_packet = tests._get_rt() - tests.worker2 = Thread(target=tests._keepupdated, daemon=True) - tests.worker2.start() + tests.login() def teardown_package(): - tests.close() + tests.logout()