← Về thư mục
tests/test_startup_no_implicit_side_effects.py
- _cfg · function · L43-L51 — def _cfg(tmp_path)
- _BoundaryGuard · class · L54-L80 — class _BoundaryGuard
- init · method · L64-L66 — def init(self)
- install · method · L68-L80 — def install(self, monkeypatch)
- _connect · function · L69-L71 — def _connect(_sock, address, a, *k)
- _popen · function · L73-L75 — def _popen(_self, args, a, *k)
- _kernel_generation_count · function · L83-L92 — def _kernel_generation_count(db_path) -> int
- fresh_boot · function · L96-L131 — def fresh_boot(tmp_path, monkeypatch)
- _record_and_run · function · L109-L117 — def _record_and_run(self, a, k): # Records and then delegates*. A stub here would make the three # boundary assertions vacuous on a real regression: the seed's network # calls and kernel spawn all happen inside the cell it swallowed, so a # reintroduced seed would trip only this counter and none of the guards # that describe the actual harm. The guards block, so delegating cannot # reach UniProt or leave a kernel behind.
- test_a_fresh_boot_opens_no_outbound_connection · function · L134-L151 — def test_a_fresh_boot_opens_no_outbound_connection(fresh_boot)
- test_a_fresh_boot_spawns_no_child_process · function · L154-L159 — def test_a_fresh_boot_spawns_no_child_process(fresh_boot)
- test_a_fresh_boot_executes_no_cell_and_records_no_kernel_generation · function · L162-L165 — def test_a_fresh_boot_executes_no_cell_and_records_no_kernel_generation(fresh_boot)
- test_a_fresh_boot_persists_no_session_and_no_artifact · function · L168-L178 — def test_a_fresh_boot_persists_no_session_and_no_artifact(fresh_boot)
- test_an_unconfirmed_post_to_the_example_route_reaches_nothing · function · L181-L217 — def test_an_unconfirmed_post_to_the_example_route_reaches_nothing( tmp_path, monkeypatch )
- test_the_opt_in_variable_still_starts_the_seed_at_boot · function · L220-L239 — def test_the_opt_in_variable_still_starts_the_seed_at_boot(tmp_path, monkeypatch)