← Về thư mục
tests/test_local_job_lifecycle.py
- _manager · function · L49-L50 — def _manager(tmp_path) -> JobManager
- _wait · function · L53-L60 — def _wait(job_id, manager, timeout=30)
- _wait_receipt · function · L63-L85 — def _wait_receipt(job_id, jobs_root, timeout=30)
- _alive · function · L88-L97 — def _alive(pid: int | None) -> bool
- test_a_job_that_outlives_its_deadline_is_stopped_and_named_timeout · function · L103-L122 — def test_a_job_that_outlives_its_deadline_is_stopped_and_named_timeout(tmp_path)
- test_a_job_finishing_inside_its_deadline_is_untouched · function · L125-L134 — def test_a_job_finishing_inside_its_deadline_is_untouched(tmp_path)
- test_a_deadline_past_the_ceiling_is_refused_before_anything_spawns · function · L137-L149 — def test_a_deadline_past_the_ceiling_is_refused_before_anything_spawns(tmp_path)
- test_the_route_default_is_a_deadline_not_an_unbounded_run · function · L152-L158 — def test_the_route_default_is_a_deadline_not_an_unbounded_run(tmp_path)
- test_output_with_no_newline_is_bounded_as_it_is_read · function · L164-L199 — def test_output_with_no_newline_is_bounded_as_it_is_read(tmp_path, monkeypatch)
- recording · function · L176-L178 — def recording(self, chunk)
- test_a_truncated_log_does_not_start_mid_character · function · L202-L221 — def test_a_truncated_log_does_not_start_mid_character(tmp_path)
- test_close_stops_live_jobs_reaps_their_threads_and_refuses_new_ones · function · L227-L249 — def test_close_stops_live_jobs_reaps_their_threads_and_refuses_new_ones(tmp_path)
- test_close_is_idempotent · function · L252-L255 — def test_close_is_idempotent(tmp_path)
- test_the_http_server_close_closes_the_jobs_manager · function · L258-L292 — def test_the_http_server_close_closes_the_jobs_manager(tmp_path, monkeypatch)
- test_a_job_the_previous_daemon_was_running_comes_back_abandoned · function · L298-L328 — def test_a_job_the_previous_daemon_was_running_comes_back_abandoned(tmp_path)
- test_a_cleanly_finished_job_leaves_no_receipt_behind · function · L331-L343 — def test_a_cleanly_finished_job_leaves_no_receipt_behind(tmp_path)
- test_a_corrupt_receipt_does_not_stop_the_daemon_starting · function · L346-L358 — def test_a_corrupt_receipt_does_not_stop_the_daemon_starting(tmp_path)
- test_a_failure_inside_the_runner_never_reaches_the_job_log · function · L366-L381 — def test_a_failure_inside_the_runner_never_reaches_the_job_log(tmp_path, monkeypatch)
- exploding · function · L369-L370 — def exploding(args, *kwargs)
- test_an_unwritable_workspace_is_refused_without_quoting_the_path · function · L384-L402 — def test_an_unwritable_workspace_is_refused_without_quoting_the_path( tmp_path, monkeypatch )
- selective · function · L390-L393 — def selective(self, args, *kwargs)