← Về thư mục
tests/test_delegation_env_inheritance.py
- ScriptedLLM · class · L39-L59 — class ScriptedLLM
- init · method · L42-L44 — def init(self, replies)
- call · method · L46-L59 — def call(self, messages, cfg, **kw)
- _fresh_discovery · function · L63-L66 — def _fresh_discovery()
- _fake_env · function · L69-L71 — def _fake_env(root: Path, name: str) -> Path
- _env_spec · function · L74-L79 — def _env_spec(env_dir: Path) -> KernelEnvSpec
- _report_cell · function · L82-L88 — def _report_cell() -> str
- test_child_cell_runs_the_parent_selected_interpreter · function · L96-L113 — def test_child_cell_runs_the_parent_selected_interpreter(monkeypatch, tmp_path)
- test_nested_child_inherits_through_the_delegation_tree · function · L116-L134 — def test_nested_child_inherits_through_the_delegation_tree(monkeypatch, tmp_path)
- test_delegating_agent_threads_env_to_its_nested_runner · function · L137-L146 — def test_delegating_agent_threads_env_to_its_nested_runner(tmp_path)
- test_all_three_kernel_construction_sites_honor_the_env · function · L149-L210 — def test_all_three_kernel_construction_sites_honor_the_env(monkeypatch, tmp_path)
- FakeKernel · class · L153-L175 — class FakeKernel
- init · method · L154-L163 — def init(self, **kwargs)
- execute · method · L165-L166 — def execute(self, code, **kw)
- is_alive · method · L168-L169 — def is_alive(self)
- interrupt · method · L171-L172 — def interrupt(self)
- shutdown · method · L174-L175 — def shutdown(self)
- _Hub · class · L218-L231 — class _Hub
- init · method · L219-L220 — def init(self)
- emitter · method · L222-L227 — def emitter(self, root_frame_id)
- emit · function · L223-L225 — def emit(event)
- broadcast · method · L229-L231 — def broadcast(self, root_frame_id, event)
- test_wire_delegation_stamps_and_restamps_the_session_env · function · L234-L271 — def test_wire_delegation_stamps_and_restamps_the_session_env(monkeypatch, tmp_path)
- test_transient_env_resolution_failure_keeps_the_last_known_good_spec · function · L274-L319 — def test_transient_env_resolution_failure_keeps_the_last_known_good_spec( monkeypatch, tmp_path )
- test_child_artifact_environment_resolves_the_child_generation · function · L327-L386 — def test_child_artifact_environment_resolves_the_child_generation( monkeypatch, tmp_path )
- test_env_use_without_a_switch_callback_is_an_error · function · L394-L406 — def test_env_use_without_a_switch_callback_is_an_error()
- test_r_only_env_switch_updates_descendant_inheritance_and_status · function · L409-L486 — def test_r_only_env_switch_updates_descendant_inheritance_and_status( monkeypatch, tmp_path )
- finalize_chat · function · L446-L466 — def finalize_chat(messages, cfg, **kwargs)
- observing_run · function · L471-L474 — def observing_run(self, task)
- test_child_env_use_switches_the_next_cells_interpreter · function · L489-L522 — def test_child_env_use_switches_the_next_cells_interpreter(monkeypatch, tmp_path)
- test_env_use_of_an_unknown_env_errors_without_switching · function · L525-L552 — def test_env_use_of_an_unknown_env_errors_without_switching(monkeypatch, tmp_path)