diff options
| author | blasty <blasty@local> | 2026-07-24 14:36:05 +0200 |
|---|---|---|
| committer | blasty <blasty@local> | 2026-07-24 14:36:05 +0200 |
| commit | ca5db9a5fe47aab6b87ee30a30d039ec9d08b244 (patch) | |
| tree | 2dcf955d5662e075542588b23efdc42dbbd241fd /tests | |
| parent | tests: add --worker <binary> to run the pilot suite against the idalib worker (diff) | |
| download | ida-tui-ca5db9a5fe47aab6b87ee30a30d039ec9d08b244.tar.gz ida-tui-ca5db9a5fe47aab6b87ee30a30d039ec9d08b244.tar.xz ida-tui-ca5db9a5fe47aab6b87ee30a30d039ec9d08b244.zip | |
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.
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/test_scenarios.py | 2 |
1 files changed, 1 insertions, 1 deletions
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") |
