← Về thư mục
tests/test_preinstall_probe_confinement.py
- test_the_probe_environment_carries_no_daemon_credentials · function · L29-L45 — def test_the_probe_environment_carries_no_daemon_credentials(monkeypatch)
- test_a_foreign_interpreter_probe_cannot_read_a_daemon_secret · function · L48-L73 — def test_a_foreign_interpreter_probe_cannot_read_a_daemon_secret(tmp_path, monkeypatch)
- test_the_probe_still_freezes_a_normal_interpreter · function · L76-L89 — def test_the_probe_still_freezes_a_normal_interpreter(tmp_path)
- test_the_probe_source_no_longer_runs_the_interpreter_bare · function · L92-L97 — def test_the_probe_source_no_longer_runs_the_interpreter_bare()
- test_enforce_mode_fails_closed_when_no_boundary_can_be_built · function · L100-L114 — def test_enforce_mode_fails_closed_when_no_boundary_can_be_built(monkeypatch, tmp_path)
- refuse · function · L107-L108 — def refuse(_a, *_k)
- test_enforce_failure_does_not_leak_the_probe_workspace · function · L117-L149 — def test_enforce_failure_does_not_leak_the_probe_workspace(monkeypatch)
- recording_mkdtemp · function · L137-L140 — def recording_mkdtemp(a, *k)
- test_a_malformed_sandbox_config_propagates_even_under_auto · function · L152-L169 — def test_a_malformed_sandbox_config_propagates_even_under_auto(monkeypatch)
- misconfigured · function · L161-L164 — def misconfigured(_a, *_k)
- test_auto_mode_still_runs_when_no_boundary_is_available · function · L172-L190 — def test_auto_mode_still_runs_when_no_boundary_is_available(monkeypatch)
- test_listing_a_foreign_env_probes_its_version_confined · function · L193-L224 — def test_listing_a_foreign_env_probes_its_version_confined(monkeypatch)
- fake_probe · function · L202-L204 — def fake_probe(argv, *, timeout)
- test_listing_our_own_env_reads_the_version_in_process · function · L227-L248 — def test_listing_our_own_env_reads_the_version_in_process(monkeypatch)
- test_a_virtualenv_is_not_this_interpreter · function · L251-L264 — def test_a_virtualenv_is_not_this_interpreter(tmp_path)
- test_a_probe_runs_in_its_own_empty_directory_not_the_daemons · function · L267-L298 — def test_a_probe_runs_in_its_own_empty_directory_not_the_daemons(tmp_path, monkeypatch)
- _alive · function · L301-L308 — def _alive(pid: int) -> bool
- _probe_with_an_escaped_child · function · L320-L340 — def _probe_with_an_escaped_child(ready: Path) -> str
- test_descendants_are_read_from_proc_by_parent_link · function · L343-L362 — def test_descendants_are_read_from_proc_by_parent_link(monkeypatch, tmp_path)
- _kill_if_alive · function · L365-L370 — def _kill_if_alive(pid: int | None) -> None
- test_a_probe_that_times_out_is_stopped_with_everything_it_started · function · L374-L397 — def test_a_probe_that_times_out_is_stopped_with_everything_it_started( monkeypatch, tmp_path )
- test_a_stop_before_the_probe_starts_runs_nothing · function · L400-L420 — def test_a_stop_before_the_probe_starts_runs_nothing(monkeypatch, tmp_path)
- recording_popen · function · L408-L410 — def recording_popen(args, *kwargs)
- test_a_stopped_probe_ends_at_once_with_everything_it_started · function · L424-L475 — def test_a_stopped_probe_ends_at_once_with_everything_it_started(monkeypatch, tmp_path)
- probe · function · L440-L450 — def probe() -> None