← Về thư mục
tests/test_model_profile_identity.py
- _cfg · function · L39-L43 — def _cfg(tmp_path) -> Config
- _Hub · class · L46-L57 — class _Hub
- init · method · L47-L48 — def init(self) -> None
- emitter · method · L50-L54 — def emitter(self, root_frame_id: str)
- emit · function · L51-L52 — def emit(event: dict) -> None
- broadcast · method · L56-L57 — def broadcast(self, root_frame_id: str, event: dict) -> None
- runner · function · L61-L64 — def runner(tmp_path)
- _service · function · L67-L71 — def _service(runner)
- _revoke_key · function · L74-L82 — def _revoke_key(runner, profile_id)
- clear · function · L77-L80 — def clear(profiles)
- _profile · function · L85-L95 — def _profile(runner, *, name, provider, model, base_url, key="k")
- test_two_profiles_with_one_model_name_both_survive_to_the_selector · function · L101-L134 — def test_two_profiles_with_one_model_name_both_survive_to_the_selector(runner)
- test_the_selector_option_value_is_a_profile_id_not_a_model_name · function · L137-L147 — def test_the_selector_option_value_is_a_profile_id_not_a_model_name(runner)
- _pin · function · L153-L162 — def _pin(runner, frame_id, profile)
- test_a_bare_model_in_the_request_does_not_override_the_pin · function · L165-L191 — def test_a_bare_model_in_the_request_does_not_override_the_pin(runner)
- test_a_pinned_session_with_an_unresolvable_key_refuses_instead_of_falling_back · function · L194-L219 — def test_a_pinned_session_with_an_unresolvable_key_refuses_instead_of_falling_back( runner, )
- test_an_unpinned_session_still_uses_the_active_profile · function · L222-L229 — def test_an_unpinned_session_still_uses_the_active_profile(runner)
- test_binding_refuses_a_profile_whose_credential_does_not_resolve · function · L232-L250 — def test_binding_refuses_a_profile_whose_credential_does_not_resolve(runner)
- test_deleting_a_profile_keeps_its_revisions_for_the_sessions_that_ran_on_it · function · L256-L287 — def test_deleting_a_profile_keeps_its_revisions_for_the_sessions_that_ran_on_it( runner, )
- test_a_deleted_profile_is_not_selectable · function · L290-L305 — def test_a_deleted_profile_is_not_selectable(runner)
- test_a_session_pinned_to_a_deleted_profile_refuses_with_a_rebind · function · L308-L327 — def test_a_session_pinned_to_a_deleted_profile_refuses_with_a_rebind(runner)
- test_a_queued_follow_up_records_the_binding_it_was_accepted_under · function · L342-L370 — def test_a_queued_follow_up_records_the_binding_it_was_accepted_under(runner)
- test_a_rebind_while_an_item_is_queued_does_not_move_that_item · function · L373-L418 — def test_a_rebind_while_an_item_is_queued_does_not_move_that_item(runner)
- test_a_queued_item_whose_frozen_profile_died_fails_visibly · function · L421-L449 — def test_a_queued_item_whose_frozen_profile_died_fails_visibly(runner)
- test_an_endpoint_with_credentials_is_never_stored_published_or_sealed · function · L455-L492 — def test_an_endpoint_with_credentials_is_never_stored_published_or_sealed(runner)
- test_two_spellings_of_one_endpoint_are_one_configuration · function · L495-L515 — def test_two_spellings_of_one_endpoint_are_one_configuration(runner)
- test_a_loopback_profile_is_ready_without_a_key · function · L518-L548 — def test_a_loopback_profile_is_ready_without_a_key(runner)