← Về thư mục
tests/test_model_revision_binding.py
- _Hub · class · L30-L35 — class _Hub
- emitter · method · L31-L32 — def emitter(self, root_frame_id)
- broadcast · method · L34-L35 — def broadcast(self, root_frame_id, event)
- _setup · function · L38-L46 — def _setup(tmp_path)
- _profile · function · L49-L68 — def _profile(store, service, name, provider, base_url, model, *, activate=False): # With a key. Every protocol in
PROFILE_PROTOCOLS is a hosted provider that # needs one -- readiness already reports a keyless profile as needs_key -- # and bind_model_revision now refuses to pin a session to a configuration # whose credential does not resolve, rather than discovering that at dispatch # and silently using the active profile instead. Omitting it here was a # fixture shortcut, not a keyless case: these tests are about revisions.
- test_a_rename_or_a_key_rotation_is_not_a_new_configuration · function · L76-L107 — def test_a_rename_or_a_key_rotation_is_not_a_new_configuration(tmp_path)
- test_an_unknown_revision_is_reported_rather_than_rounded · function · L110-L121 — def test_an_unknown_revision_is_reported_rather_than_rounded(tmp_path)
- test_a_bound_session_does_not_follow_the_profile_forward · function · L129-L149 — def test_a_bound_session_does_not_follow_the_profile_forward(tmp_path)
- test_a_dangling_pin_asks_for_a_rebind_instead_of_guessing · function · L152-L165 — def test_a_dangling_pin_asks_for_a_rebind_instead_of_guessing(tmp_path)
- test_an_install_with_no_profiles_still_runs · function · L168-L178 — def test_an_install_with_no_profiles_still_runs(tmp_path)
- test_a_legacy_session_backfills_only_on_a_unique_match · function · L186-L198 — def test_a_legacy_session_backfills_only_on_a_unique_match(tmp_path)
- test_an_ambiguous_legacy_session_stays_unbound_and_asks · function · L201-L222 — def test_an_ambiguous_legacy_session_stays_unbound_and_asks(tmp_path)
- test_reading_an_unbound_session_never_binds_it · function · L225-L248 — def test_reading_an_unbound_session_never_binds_it(tmp_path)
- test_migration_ten_upgrades_a_populated_database_without_defaulting · function · L256-L296 — def test_migration_ten_upgrades_a_populated_database_without_defaulting(tmp_path)
- test_the_schema_version_matches_the_registered_migrations · function · L299-L312 — def test_the_schema_version_matches_the_registered_migrations(tmp_path)