@@ -0,0 +1,921 @@
+# stdlib%0Aimport os%0Afrom pathlib import Path%0Aimport shutil%0Aimport socketserver%0Afrom typing import Optional%0A%0ANOTEBOOK_TESTS_PATH = Path(%22tests/syft/notebooks%22)%0ASIGNALING_SERVER_PORT = None%0A%0A%0Adef free_port() -%3E int:%0A    with socketserver.TCPServer((%22localhost%22, 0), None) as s:  # type: ignore%0A        return s.server_address%5B1%5D%0A%0A%0Adef cleanup() -%3E None:%0A    for elem in os.listdir(NOTEBOOK_TESTS_PATH):%0A        path = NOTEBOOK_TESTS_PATH / elem%0A        if not (%0A            str(path).endswith(%22.template%22)%0A            or str(elem).startswith(%22__init__%22)%0A            or str(elem).startswith(%22signaling_server_test%22)%0A        ):%0A            if path.is_file():%0A                os.remove(path)%0A            else:%0A                shutil.rmtree(path)%0A%0A%0Adef set_global_var(port: int) -%3E None:%0A    global SIGNALING_SERVER_PORT%0A    SIGNALING_SERVER_PORT = port%0A%0A%0Adef get_global_var() -%3E Optional%5Bint%5D:%0A    return SIGNALING_SERVER_PORT%0A

Fix unit tests with missing __init__ file