From ca5db9a5fe47aab6b87ee30a30d039ec9d08b244 Mon Sep 17 00:00:00 2001 From: blasty Date: Fri, 24 Jul 2026 14:36:05 +0200 Subject: tests: pass url=""/db=None to IdaTui in the worker pilot path IdaTui.__init__ requires url and db positionally (the launcher passes url=args.url, db=None even for the worker). The pilot's --worker branch omitted them -> TypeError. Pass url="" (unused by the worker backend) and db=None. --- tests/test_scenarios.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_scenarios.py b/tests/test_scenarios.py index eed3c59..09335d7 100644 --- a/tests/test_scenarios.py +++ b/tests/test_scenarios.py @@ -1655,7 +1655,7 @@ async def run(db, only=None, binary=None, backend="mcp"): if backend == "worker": # Own idalib worker: opens the binary in-process over a unix socket, no # supervisor. Mirrors launch.py's worker branch. - app = IdaTui(open_path=binary, ensure_server=False, + app = IdaTui(url="", db=None, open_path=binary, ensure_server=False, backend="worker", keepalive=False) else: url = os.environ.get("IDA_MCP_URL", "http://127.0.0.1:8745/mcp") -- cgit v1.3.1-sl0p