Skip to content

Commit 8d883a5

Browse files
authored
Update test_cli.py
1 parent 4622023 commit 8d883a5

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎tests/test_cli.py‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -400,7 +400,7 @@ def test_main_run_starts_tui_and_closes_session(self):
400400
) as ms,
401401
mock.patch("python_agent_harness.tui.Tui") as tui_cls,
402402
):
403-
rc = cli.main(["run", "/tmp/proj"])
403+
rc = cli.main(["run", "--project", "/tmp/proj"])
404404
self.assertEqual(rc, 0)
405405
ms.assert_called_once()
406406
self.assertEqual(ms.call_args.args[0], "/tmp/proj")
@@ -436,7 +436,7 @@ def test_run_no_stream_flag_forwarded(self):
436436
mock.patch("python_agent_harness.cli.make_session_with_mcp") as ms,
437437
mock.patch("python_agent_harness.tui.Tui"),
438438
):
439-
rc = cli.main(["run", "/tmp/proj", "--no-stream"])
439+
rc = cli.main(["run", "--project", "/tmp/proj", "--no-stream"])
440440
self.assertEqual(rc, 0)
441441
self.assertIs(ms.call_args.kwargs["stream"], False)
442442

0 commit comments

Comments
 (0)