File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments