← Về thư mục
tests/test_contract_inventory.py
- doc · function · L58-L59 — def doc() -> str
- test_the_inventory_is_not_silently_empty · function · L67-L73 — def test_the_inventory_is_not_silently_empty()
- test_known_routes_are_found · function · L76-L79 — def test_known_routes_are_found()
- test_validator_patterns_are_not_mistaken_for_routes · function · L82-L87 — def test_validator_patterns_are_not_mistaken_for_routes()
- test_route_family_reduces_a_parameterised_path · function · L90-L93 — def test_route_family_reduces_a_parameterised_path()
- test_kernel_routes_declare_state_mutation_semantics · function · L96-L114 — def test_kernel_routes_declare_state_mutation_semantics()
- test_route_spec_rejects_a_declaration_it_cannot_serve · function · L138-L153 — def test_route_spec_rejects_a_declaration_it_cannot_serve(kwargs, exc)
- test_a_valid_route_spec_keeps_its_compiled_pattern · function · L156-L164 — def test_a_valid_route_spec_keeps_its_compiled_pattern()
- test_route_specs_reject_a_route_an_earlier_one_already_answers · function · L167-L185 — def test_route_specs_reject_a_route_an_earlier_one_already_answers()
- test_route_group_sampling_rejects_malformed_prefixes_without_backtracking · function · L188-L202 — def test_route_group_sampling_rejects_malformed_prefixes_without_backtracking()
- test_a_route_module_validates_its_table_when_it_is_imported · function · L205-L217 — def test_a_route_module_validates_its_table_when_it_is_imported()
- test_route_specs_reject_ambiguous_protocol_identities · function · L220-L232 — def test_route_specs_reject_ambiguous_protocol_identities()
- test_route_spec_source_fragment_remains_inventoried · function · L235-L237 — def test_route_spec_source_fragment_remains_inventoried()
- test_every_route_family_is_documented · function · L245-L250 — def test_every_route_family_is_documented(doc)
- test_every_websocket_event_the_server_emits_is_documented · function · L253-L257 — def test_every_websocket_event_the_server_emits_is_documented(doc)
- test_every_websocket_message_a_client_may_send_is_documented · function · L260-L262 — def test_every_websocket_message_a_client_may_send_is_documented(doc)
- test_the_document_records_the_versioned_root · function · L265-L267 — def test_the_document_records_the_versioned_root(doc)
- test_the_document_spells_no_route_under_the_removed_unversioned_root · function · L270-L292 — def test_the_document_spells_no_route_under_the_removed_unversioned_root(doc)
- _unversioned_route_spellings · function · L299-L341 — def _unversioned_route_spellings(text: str) -> list[tuple[int, str]]
- flush · function · L317-L322 — def flush() -> None
- test_no_user_doc_spells_a_route_under_the_removed_unversioned_root · function · L352-L358 — def test_no_user_doc_spells_a_route_under_the_removed_unversioned_root(name)
- test_the_unversioned_route_scan_keeps_notes_that_say_the_form_is_gone · function · L361-L386 — def test_the_unversioned_route_scan_keeps_notes_that_say_the_form_is_gone()
- test_the_resume_cursor_is_documented · function · L389-L393 — def test_the_resume_cursor_is_documented(doc)
- test_inventory_is_serialisable · function · L396-L399 — def test_inventory_is_serialisable()
- test_events_emitted_outside_the_gateway_are_in_the_inventory · function · L407-L423 — def test_events_emitted_outside_the_gateway_are_in_the_inventory()
- test_the_inventory_does_not_invent_events · function · L426-L437 — def test_the_inventory_does_not_invent_events()
- test_inbound_membership_dispatch_is_inventoried · function · L440-L446 — def test_inbound_membership_dispatch_is_inventoried()
- test_inbound_scanning_stops_at_the_handler · function · L449-L455 — def test_inbound_scanning_stops_at_the_handler()
- test_a_route_defined_in_a_route_module_is_still_inventory · function · L463-L471 — def test_a_route_defined_in_a_route_module_is_still_inventory(tmp_path)
- test_every_discovered_route_module_is_scanned_or_absent · function · L474-L480 — def test_every_discovered_route_module_is_scanned_or_absent(tmp_path)
- test_a_module_carrying_routes_must_follow_the_naming_convention · function · L483-L519 — def test_a_module_carrying_routes_must_follow_the_naming_convention()
- test_widening_the_scan_adds_only_what_the_route_modules_declare · function · L522-L563 — def test_widening_the_scan_adds_only_what_the_route_modules_declare()
- test_the_inventory_covers_every_route_the_router_can_match · function · L571-L583 — def test_the_inventory_covers_every_route_the_router_can_match()
- test_an_extracted_route_module_is_in_the_inventory · function · L586-L601 — def test_an_extracted_route_module_is_in_the_inventory()
- test_no_inventory_entry_is_an_incomplete_matcher · function · L609-L623 — def test_no_inventory_entry_is_an_incomplete_matcher()
- test_a_pattern_split_across_string_literals_is_read_whole · function · L626-L636 — def test_a_pattern_split_across_string_literals_is_read_whole()
- test_a_non_constant_pattern_is_left_out_rather_than_half_read · function · L639-L645 — def test_a_non_constant_pattern_is_left_out_rather_than_half_read()
- test_every_route_concretises_to_a_path_that_reaches_it · function · L648-L659 — def test_every_route_concretises_to_a_path_that_reaches_it()
- test_an_alternation_is_sampled_rather_than_stripped · function · L662-L667 — def test_an_alternation_is_sampled_rather_than_stripped()
- _doc_row · function · L670-L671 — def _doc_row(doc: str, route: str) -> str
- test_identity_rows_describe_the_token_gate_the_handler_serves · function · L674-L718 — def test_identity_rows_describe_the_token_gate_the_handler_serves(doc, tmp_path)