← Về thư mục
tests/test_plan_service.py
- _session · function · L15-L24 — def _session(tmp_path, store, project_id="science")
- _reply · function · L27-L46 — def _reply(title: str, step_title: str) -> str
- _service · function · L49-L57 — def _service(tmp_path, run_message=None)
- test_finalize_reuses_draft_row_artifact_and_resets_progress · function · L60-L122 — def test_finalize_reuses_draft_row_artifact_and_resets_progress(tmp_path)
- test_finalize_survives_artifact_failure · function · L125-L150 — def test_finalize_survives_artifact_failure(monkeypatch, tmp_path)
- fail_artifact · function · L130-L131 — def fail_artifact(**kwargs)
- test_state_and_discard_keep_soft_failure_and_event_contract · function · L153-L185 — def test_state_and_discard_keep_soft_failure_and_event_contract(tmp_path)
- test_execution_uses_normal_turn_and_preserves_status_semantics · function · L201-L257 — def test_execution_uses_normal_turn_and_preserves_status_semantics( tmp_path, turn_status, plan_status )
- run_message · function · L206-L208 — def run_message(args, *kwargs)
- test_execution_guards_and_revision_prompt · function · L260-L326 — def test_execution_guards_and_revision_prompt(tmp_path)
- run_message · function · L263-L265 — def run_message(args, *kwargs)
- _plan_with_steps · function · L329-L352 — def _plan_with_steps(store, frame_id, statuses, title="resumable")
- test_resume_runs_the_unfinished_steps_and_leaves_the_settled_ones · function · L355-L371 — def test_resume_runs_the_unfinished_steps_and_leaves_the_settled_ones(tmp_path)
- test_the_resume_seed_names_the_finished_work_so_it_is_not_redone · function · L374-L385 — def test_the_resume_seed_names_the_finished_work_so_it_is_not_redone(tmp_path)
- test_only_a_paused_plan_resumes_and_each_refusal_says_why · function · L388-L403 — def test_only_a_paused_plan_resumes_and_each_refusal_says_why(tmp_path)
- test_resume_runs_the_turn_and_reports_how_many_steps_it_took · function · L406-L426 — def test_resume_runs_the_turn_and_reports_how_many_steps_it_took(tmp_path)
- _run_message · function · L413-L417 — def _run_message(root_frame_id, project_id, seed, model, plan=False)
- test_a_cancelled_resume_pauses_again_rather_than_sticking_on_executing · function · L429-L444 — def test_a_cancelled_resume_pauses_again_rather_than_sticking_on_executing(tmp_path)
- test_a_paused_plan_with_nothing_left_completes_instead_of_running_a_turn · function · L447-L461 — def test_a_paused_plan_with_nothing_left_completes_instead_of_running_a_turn(tmp_path)
- test_a_skipped_step_is_settled_and_not_re_run · function · L464-L479 — def test_a_skipped_step_is_settled_and_not_re_run(tmp_path)
- test_the_resume_seed_names_a_skipped_step_among_the_settled · function · L482-L489 — def test_the_resume_seed_names_a_skipped_step_among_the_settled(tmp_path)
- test_every_step_status_is_either_settled_or_deliberately_not · function · L492-L506 — def test_every_step_status_is_either_settled_or_deliberately_not(tmp_path)
- _english_plan · function · L510-L527 — def _english_plan(store, frame_id, status="draft")
- test_an_english_plan_executes_and_resumes_under_english_seeds · function · L530-L570 — def test_an_english_plan_executes_and_resumes_under_english_seeds(tmp_path)
- test_a_chinese_plan_still_gets_chinese_seeds · function · L573-L589 — def test_a_chinese_plan_still_gets_chinese_seeds(tmp_path)
- test_the_plan_language_is_carried_from_the_drafting_request · function · L592-L624 — def test_the_plan_language_is_carried_from_the_drafting_request(tmp_path)
- test_the_revision_seed_follows_the_plan_and_is_not_instructed_twice · function · L627-L666 — def test_the_revision_seed_follows_the_plan_and_is_not_instructed_twice(tmp_path)
- run_message · function · L636-L638 — def run_message(args, *kwargs)
- _draft_with_two_steps · function · L669-L680 — def _draft_with_two_steps(store, frame_id)
- _assert_not_complete_with_a_step_in_progress · function · L683-L697 — def _assert_not_complete_with_a_step_in_progress(store, events, plan_id)
- test_a_completed_turn_that_left_a_step_in_progress_does_not_complete_the_plan · function · L700-L730 — def test_a_completed_turn_that_left_a_step_in_progress_does_not_complete_the_plan( tmp_path, )
- run_message · function · L717-L722 — def run_message(root_frame_id, project_id, seed, model, plan=False): # The host.plan_update sequence recorded for the Chromium frame.
- test_a_completed_resume_that_left_a_step_in_progress_pauses_again · function · L733-L749 — def test_a_completed_resume_that_left_a_step_in_progress_pauses_again(tmp_path)
- run_message · function · L741-L743 — def run_message(root_frame_id, project_id, seed, model, plan=False)
- test_a_completed_turn_that_settled_every_step_still_completes_the_plan · function · L752-L766 — def test_a_completed_turn_that_settled_every_step_still_completes_the_plan(tmp_path)
- run_message · function · L757-L761 — def run_message(root_frame_id, project_id, seed, model, plan=False)