← Về thư mục
tests/test_delegation_control.py
- _Hub · class · L35-L40 — class _Hub
- emitter · method · L36-L37 — def emitter(self, root_frame_id)
- broadcast · method · L39-L40 — def broadcast(self, root_frame_id, event)
- _Client · class · L43-L139 — class _Client
- init · method · L44-L56 — def init(self, tmp_path)
- post · method · L58-L76 — def post(self, path, body=None)
- _send · function · L63-L65 — def _send(code, payload, ctype, extra=None)
- get · method · L78-L96 — def get(self, path)
- _send · function · L83-L85 — def _send(code, payload, ctype, extra=None)
- seed_child · method · L98-L139 — def seed_child(self, child_id, status="running")
- client · function · L143-L144 — def client(tmp_path)
- test_a_child_that_never_existed_is_a_not_found · function · L152-L155 — def test_a_child_that_never_existed_is_a_not_found(client)
- test_a_record_whose_runner_is_gone_is_a_conflict_not_a_not_found · function · L158-L165 — def test_a_record_whose_runner_is_gone_is_a_conflict_not_a_not_found(client)
- test_the_same_distinction_holds_for_steering · function · L168-L180 — def test_the_same_distinction_holds_for_steering(client)
- test_a_stop_never_reports_success_it_did_not_achieve · function · L183-L190 — def test_a_stop_never_reports_success_it_did_not_achieve(client)
- test_continuing_a_stale_record_is_the_same_conflict · function · L193-L210 — def test_continuing_a_stale_record_is_the_same_conflict(client)
- test_an_empty_steering_message_is_refused_before_anything_is_looked_up · function · L218-L225 — def test_an_empty_steering_message_is_refused_before_anything_is_looked_up(client)
- test_a_steering_message_is_bounded_like_any_other_message · function · L228-L236 — def test_a_steering_message_is_bounded_like_any_other_message(client)
- test_both_controls_are_posts_on_the_real_surface · function · L244-L251 — def test_both_controls_are_posts_on_the_real_surface()
- _LiveRunner · class · L259-L305 — class _LiveRunner
- _Lock · class · L275-L280 — class _Lock
- enter · method · L276-L277 — def enter(self)
- exit · method · L279-L280 — def exit(self, *exc)
- _Tree · class · L282-L283 — class _Tree
- init · method · L285-L290 — def init(self, child_id)
- _stop_subtree · method · L292-L294 — def _stop_subtree(self, child_id, reason)
- send_message · method · L296-L305 — def send_message(self, spec)
- test_a_live_child_is_actually_stopped_through_the_route · function · L309-L320 — def test_a_live_child_is_actually_stopped_through_the_route(client)
- test_a_live_child_receives_the_steering_text_verbatim · function · L324-L338 — def test_a_live_child_receives_the_steering_text_verbatim(client)
- test_a_runner_that_refuses_the_steer_is_a_conflict_not_a_success · function · L342-L360 — def test_a_runner_that_refuses_the_steer_is_a_conflict_not_a_success(client)
- test_an_unknown_child_status_never_takes_down_the_projection · function · L364-L387 — def test_an_unknown_child_status_never_takes_down_the_projection(client)
- test_the_delegations_route_carries_task_status · function · L395-L439 — def test_the_delegations_route_carries_task_status(client)