← Về thư mục
tests/test_environment_readiness.py
- _managed_repair · function · L70-L82 — def _managed_repair() -> dict[str, object]
- _environment · function · L85-L101 — def _environment(root: Path, name: str) -> Environment
- _write_inventory · function · L104-L110 — def _write_inventory(root: Path, packages: tuple[str, ...] | list[str]) -> None
- _complete_environments · function · L113-L120 — def _complete_environments(tmp_path: Path) -> list[Environment]
- _write_managed_generation · function · L123-L151 — def _write_managed_generation( root: Path, name: str, packages: tuple[str, ...], *, generation_id: str = "env-ready", state: str = "ready", ) -> Path
- test_shipped_manifests_are_the_authoritative_33_and_8_package_lists · function · L154-L175 — def test_shipped_manifests_are_the_authoritative_33_and_8_package_lists()
- test_marker_entries_are_platform_optional_but_still_validated · function · L178-L211 — def test_marker_entries_are_platform_optional_but_still_validated(tmp_path)
- test_complete_standard_profile_is_ready_using_local_package_metadata · function · L214-L237 — def test_complete_standard_profile_is_ready_using_local_package_metadata(tmp_path)
- test_production_managed_discovery_accepts_only_valid_ready_generations · function · L240-L255 — def test_production_managed_discovery_accepts_only_valid_ready_generations( tmp_path, monkeypatch )
- test_out_of_root_managed_pointers_cannot_make_readiness_ready · function · L258-L285 — def test_out_of_root_managed_pointers_cannot_make_readiness_ready( tmp_path, monkeypatch )
- test_managed_discovery_refuses_non_ready_and_symlinked_pointers · function · L288-L306 — def test_managed_discovery_refuses_non_ready_and_symlinked_pointers( tmp_path, monkeypatch )
- test_managed_discovery_refuses_a_symlinked_generations_directory · function · L309-L330 — def test_managed_discovery_refuses_a_symlinked_generations_directory( tmp_path, monkeypatch )
- test_managed_discovery_accepts_a_rollback_eligible_superseded_generation · function · L333-L348 — def test_managed_discovery_accepts_a_rollback_eligible_superseded_generation( tmp_path, monkeypatch )
- test_production_readiness_discovery_does_not_create_the_data_directory · function · L351-L365 — def test_production_readiness_discovery_does_not_create_the_data_directory( tmp_path, monkeypatch )
- test_missing_environment_offers_transactional_managed_repair · function · L368-L379 — def test_missing_environment_offers_transactional_managed_repair(tmp_path)
- test_missing_package_offers_explicit_transactional_repair · function · L382-L404 — def test_missing_package_offers_explicit_transactional_repair(tmp_path)
- scan · function · L386-L389 — def scan(root: Path, *, language: str) -> set[str]
- test_package_scan_fault_is_unavailable_not_every_package_missing · function · L407-L428 — def test_package_scan_fault_is_unavailable_not_every_package_missing(tmp_path)
- failed_scan · function · L410-L413 — def failed_scan(root: Path, *, language: str) -> set[str]
- test_discovery_fault_is_reported_without_leaking_the_exception · function · L431-L440 — def test_discovery_fault_is_reported_without_leaking_the_exception()
- failed_discovery · function · L432-L433 — def failed_discovery() -> list[Environment]
- test_malformed_manifest_fails_honestly_and_does_not_discover · function · L443-L462 — def test_malformed_manifest_fails_honestly_and_does_not_discover(tmp_path, monkeypatch)
- test_disabled_flag_returns_before_manifest_or_environment_discovery · function · L465-L498 — def test_disabled_flag_returns_before_manifest_or_environment_discovery(tmp_path)
- forbidden_discovery · function · L468-L470 — def forbidden_discovery() -> list[Environment]
- test_readiness_never_starts_processes_uses_network_or_writes · function · L501-L516 — def test_readiness_never_starts_processes_uses_network_or_writes(tmp_path, monkeypatch)
- forbidden · function · L504-L505 — def forbidden(args, *kwargs)
- test_requirements_digest_is_stable_across_environment_locations · function · L519-L526 — def test_requirements_digest_is_stable_across_environment_locations(tmp_path)
- test_wrong_runtime_is_repairable_but_never_claimed_ready · function · L529-L540 — def test_wrong_runtime_is_repairable_but_never_claimed_ready(tmp_path)
- test_duplicate_standard_environment_names_fail_closed · function · L543-L553 — def test_duplicate_standard_environment_names_fail_closed(tmp_path)