← Về thư mục
tests/test_auto_mode_service.py
- _Store · class · L15-L96 — class _Store
- init · method · L16-L33 — def init(self) -> None
- get_frame · method · L35-L36 — def get_frame(self, frame_id: str)
- active_session_branch · method · L38-L40 — def active_session_branch(self, root_frame_id: str) -> str
- get_setting · method · L42-L43 — def get_setting(self, key: str, default=None)
- get_auto_mode_selection · method · L45-L47 — def get_auto_mode_selection(self, scope_kind: str, scope_id: str)
- set_auto_mode_selection · method · L49-L67 — def set_auto_mode_selection( self, scope_kind: str, scope_id: str, values: dict, expected_revision: int, )
- project_auto_mode_run · method · L69-L80 — def project_auto_mode_run( self, root_frame_id: str, branch_id: str, upto_event_cursor=None, )
- list_auto_mode_audits · method · L82-L96 — def list_auto_mode_audits( self, root_frame_id: str, branch_id: str, subject_kind=None, before=None, limit: int = 100, )
- _config · function · L99-L103 — def _config(*, feature=True, deployment=None)
- _service · function · L106-L112 — def _service(store: _Store, *, feature=True, deployment=None, emitted=None)
- test_selection_precedence_is_quarantine_frame_project_deployment_legacy_default · function · L115-L155 — def test_selection_precedence_is_quarantine_frame_project_deployment_legacy_default()
- test_unset_deployment_does_not_erase_legacy_result_review · function · L158-L167 — def test_unset_deployment_does_not_erase_legacy_result_review()
- test_legacy_false_and_builtin_defaults_cannot_enable_permission_review · function · L170-L179 — def test_legacy_false_and_builtin_defaults_cannot_enable_permission_review()
- test_feature_flag_off_keeps_get_inert_and_refuses_patch · function · L182-L198 — def test_feature_flag_off_keeps_get_inert_and_refuses_patch()
- test_patch_is_closed_normalized_and_revision_checked · function · L201-L232 — def test_patch_is_closed_normalized_and_revision_checked()
- test_patch_all_null_clears_frame_override_but_mixed_null_is_rejected · function · L235-L266 — def test_patch_all_null_clears_frame_override_but_mixed_null_is_rejected()
- test_quarantine_refuses_patch_even_when_feature_is_enabled · function · L270-L279 — def test_quarantine_refuses_patch_even_when_feature_is_enabled(marker)
- test_projection_and_audits_are_allowlisted_not_raw_database_rows · function · L282-L381 — def test_projection_and_audits_are_allowlisted_not_raw_database_rows()
- test_only_newly_created_canonical_committed_event_is_broadcast · function · L384-L425 — def test_only_newly_created_canonical_committed_event_is_broadcast()
- test_broadcast_failure_cannot_roll_back_committed_rest_truth · function · L428-L465 — def test_broadcast_failure_cannot_roll_back_committed_rest_truth()
- test_audit_live_event_extracts_only_valid_closed_payload_fields · function · L468-L527 — def test_audit_live_event_extracts_only_valid_closed_payload_fields()
- test_unknown_frame_fails_without_reading_or_writing_selection · function · L530-L537 — def test_unknown_frame_fails_without_reading_or_writing_selection()