← Về thư mục
tests/test_artifact_env_provenance.py
- env · function · L29-L44 — def env(tmp_path)
- _generation · function · L47-L59 — def _generation(store, root, language, *, interpreter, env_name)
- _snapshot · function · L62-L65 — def _snapshot(manager, store, root, language)
- test_an_r_artifact_does_not_carry_a_python_package_list · function · L73-L84 — def test_an_r_artifact_does_not_carry_a_python_package_list(env)
- test_a_python_artifact_records_its_own_interpreter_and_environment · function · L87-L97 — def test_a_python_artifact_records_its_own_interpreter_and_environment(env)
- test_two_runtimes_never_share_one_snapshot_row · function · L100-L111 — def test_two_runtimes_never_share_one_snapshot_row(env)
- test_the_snapshot_names_the_generation_that_produced_it · function · L114-L122 — def test_the_snapshot_names_the_generation_that_produced_it(env)
- test_a_web_repl_kernel_generation_records_a_python_package_list · function · L130-L171 — def test_a_web_repl_kernel_generation_records_a_python_package_list(env)
- _legacy_web_generation · function · L174-L195 — def _legacy_web_generation(store, root, *, key, interpreter)
- test_a_legacy_repl_generation_is_read_as_python · function · L198-L210 — def test_a_legacy_repl_generation_is_read_as_python(env)
- test_a_legacy_remote_generation_never_borrows_the_daemon_s_packages · function · L213-L232 — def test_a_legacy_remote_generation_never_borrows_the_daemon_s_packages(env)
- test_an_unreadable_interpreter_reports_absence_not_the_daemon_s_packages · function · L240-L254 — def test_an_unreadable_interpreter_reports_absence_not_the_daemon_s_packages(env)
- test_no_generation_on_record_is_marked_as_assumed · function · L257-L265 — def test_no_generation_on_record_is_marked_as_assumed(env)
- test_capture_environment_never_breaks_artifact_saving · function · L268-L276 — def test_capture_environment_never_breaks_artifact_saving(env, monkeypatch)
- explode · function · L272-L273 — def explode(_a, *_k)
- test_historical_snapshots_are_not_backfilled_with_a_guess · function · L284-L301 — def test_historical_snapshots_are_not_backfilled_with_a_guess(env)
- _select_branch · function · L309-L322 — def _select_branch(store, root, branch_id)
- test_a_forked_branch_artifact_records_its_own_branch_s_kernel · function · L325-L355 — def test_a_forked_branch_artifact_records_its_own_branch_s_kernel(env)
- test_a_fork_with_no_kernel_of_its_own_does_not_borrow_the_root_s · function · L358-L370 — def test_a_fork_with_no_kernel_of_its_own_does_not_borrow_the_root_s(env)
- test_the_root_branch_is_unaffected · function · L373-L382 — def test_the_root_branch_is_unaffected(env)
- test_a_restarted_kernel_gets_its_own_snapshot_row · function · L390-L412 — def test_a_restarted_kernel_gets_its_own_snapshot_row(env)
- test_the_same_generation_still_reuses_one_row · function · L415-L423 — def test_the_same_generation_still_reuses_one_row(env)
- test_a_foreign_interpreter_is_frozen_once_per_generation · function · L431-L455 — def test_a_foreign_interpreter_is_frozen_once_per_generation(env, monkeypatch)
- counting_freeze · function · L442-L444 — def counting_freeze(interpreter, *, timeout=20.0)
- test_an_install_invalidates_the_freeze_cache_within_a_generation · function · L458-L492 — def test_an_install_invalidates_the_freeze_cache_within_a_generation(env, monkeypatch)
- freeze · function · L471-L476 — def freeze(interpreter, *, timeout=20.0): # After the install, the same interpreter reports one more package.
- test_a_failed_probe_is_not_retried_within_the_generation · function · L495-L517 — def test_a_failed_probe_is_not_retried_within_the_generation(env, monkeypatch)
- failing_freeze · function · L505-L507 — def failing_freeze(interpreter, *, timeout=20.0)
- test_a_new_generation_probes_again · function · L520-L539 — def test_a_new_generation_probes_again(env, monkeypatch)
- counting_freeze · function · L526-L528 — def counting_freeze(interpreter, *, timeout=20.0)
- test_concurrent_captures_on_two_branches_do_not_cross · function · L547-L606 — def test_concurrent_captures_on_two_branches_do_not_cross(env, monkeypatch)
- capture · function · L589-L594 — def capture(branch_id, label)
- test_a_freshly_written_snapshot_is_labelled_verified · function · L609-L614 — def test_a_freshly_written_snapshot_is_labelled_verified(env)
- test_an_assumed_snapshot_claims_no_generation_confidence · function · L617-L624 — def test_an_assumed_snapshot_claims_no_generation_confidence(env)
- test_the_drain_actually_empties_the_buffer · function · L641-L658 — def test_the_drain_actually_empties_the_buffer(env)
- _drain · function · L648-L651 — def _drain()