← Về thư mục
tests/test_response_schemas.py
- frozen · function · L47-L48 — def frozen()
- test_a_field_seen_once_and_then_missing_becomes_optional · function · L56-L64 — def test_a_field_seen_once_and_then_missing_becomes_optional()
- test_a_field_present_in_every_observation_stays_guaranteed · function · L67-L71 — def test_a_field_present_in_every_observation_stays_guaranteed()
- test_null_makes_a_field_nullable_not_optional · function · L74-L80 — def test_null_makes_a_field_nullable_not_optional()
- test_an_integer_satisfies_a_number_but_not_the_reverse · function · L83-L85 — def test_an_integer_satisfies_a_number_but_not_the_reverse()
- test_int_and_float_observations_widen_to_number · function · L88-L91 — def test_int_and_float_observations_widen_to_number()
- test_number_subsumes_integer_inside_a_larger_union · function · L94-L105 — def test_number_subsumes_integer_inside_a_larger_union()
- test_a_booleans_type_is_not_integer · function · L108-L112 — def test_a_booleans_type_is_not_integer()
- test_array_element_shapes_are_merged_not_taken_from_the_first · function · L115-L118 — def test_array_element_shapes_are_merged_not_taken_from_the_first()
- test_an_empty_array_constrains_nothing · function · L121-L124 — def test_an_empty_array_constrains_nothing()
- test_validate_reports_every_problem_not_only_the_first · function · L127-L132 — def test_validate_reports_every_problem_not_only_the_first()
- test_a_new_key_is_reported_as_drift · function · L135-L140 — def test_a_new_key_is_reported_as_drift()
- test_an_object_keyed_by_workspace_paths_is_not_frozen_as_a_record · function · L148-L156 — def test_an_object_keyed_by_workspace_paths_is_not_frozen_as_a_record()
- test_a_map_admits_keys_it_has_never_seen · function · L159-L161 — def test_a_map_admits_keys_it_has_never_seen()
- test_a_map_still_promises_the_shape_of_its_values · function · L164-L167 — def test_a_map_still_promises_the_shape_of_its_values()
- test_one_data_key_is_enough_to_make_the_whole_object_a_map · function · L170-L178 — def test_one_data_key_is_enough_to_make_the_whole_object_a_map()
- test_a_record_is_not_mistaken_for_a_map · function · L181-L186 — def test_a_record_is_not_mistaken_for_a_map()
- test_merging_a_map_with_another_map_keeps_the_keys_free · function · L189-L192 — def test_merging_a_map_with_another_map_keeps_the_keys_free()
- test_a_map_and_a_record_merge_to_a_map · function · L195-L199 — def test_a_map_and_a_record_merge_to_a_map()
- test_comparing_a_map_against_a_record_does_not_report_every_key_as_dropped · function · L202-L205 — def test_comparing_a_map_against_a_record_does_not_report_every_key_as_dropped()
- test_a_maps_value_type_changing_is_still_a_break · function · L208-L211 — def test_a_maps_value_type_changing_is_still_a_break()
- test_no_frozen_route_publishes_a_fixture_filename_as_a_field · function · L214-L233 — def test_no_frozen_route_publishes_a_fixture_filename_as_a_field(frozen)
- walk · function · L219-L229 — def walk(node, where)
- test_adding_an_optional_field_is_not_a_break · function · L241-L244 — def test_adding_an_optional_field_is_not_a_break()
- test_dropping_a_guaranteed_field_is_a_break · function · L247-L250 — def test_dropping_a_guaranteed_field_is_a_break()
- test_a_field_that_stops_being_guaranteed_is_a_break · function · L253-L258 — def test_a_field_that_stops_being_guaranteed_is_a_break()
- test_a_type_that_gains_null_is_a_break · function · L261-L264 — def test_a_type_that_gains_null_is_a_break()
- test_a_nested_break_is_found_and_named_by_path · function · L267-L271 — def test_a_nested_break_is_found_and_named_by_path()
- test_a_break_inside_an_array_element_is_found · function · L274-L277 — def test_a_break_inside_an_array_element_is_found()
- test_check_calls_a_shape_change_breaking_or_additive · function · L280-L294 — def test_check_calls_a_shape_change_breaking_or_additive()
- test_a_breaking_report_names_the_field_that_broke · function · L297-L306 — def test_a_breaking_report_names_the_field_that_broke()
- test_check_reports_a_route_that_lost_its_coverage · function · L309-L315 — def test_check_reports_a_route_that_lost_its_coverage()
- _checkpoint_body · function · L323-L338 — def _checkpoint_body(*, enforced)
- test_a_sandbox_block_is_recorded_as_opaque · function · L341-L351 — def test_a_sandbox_block_is_recorded_as_opaque()
- test_the_same_route_on_a_host_without_a_sandbox_is_not_a_breaking_change · function · L354-L366 — def test_the_same_route_on_a_host_without_a_sandbox_is_not_a_breaking_change()
- _gpu_body · function · L369-L389 — def _gpu_body(*, present)
- _FakeShutil · class · L392-L397 — class _FakeShutil
- init · method · L393-L394 — def init(self, found)
- which · method · L396-L397 — def which(self, _name)
- _FakeSubprocess · class · L400-L405 — class _FakeSubprocess
- init · method · L401-L402 — def init(self, completed)
- run · method · L404-L405 — def run(self, _a, *_kw)
- _patched · class · L408-L431 — class _patched
- init · method · L412-L415 — def init(self, module, name, value)
- enter · method · L417-L422 — def enter(self)
- exit · method · L424-L431 — def exit(self, *_exc)
- test_the_gpu_probe_is_the_same_shape_on_a_gpu_host_and_a_cpu_one · function · L434-L462 — def test_the_gpu_probe_is_the_same_shape_on_a_gpu_host_and_a_cpu_one()
- test_eliding_leaves_the_rest_of_the_response_frozen · function · L465-L475 — def test_eliding_leaves_the_rest_of_the_response_frozen()
- test_machine_state_is_elided_wherever_it_is_nested · function · L478-L490 — def test_machine_state_is_elided_wherever_it_is_nested()
- test_no_frozen_route_pins_a_sandbox_block · function · L493-L510 — def test_no_frozen_route_pins_a_sandbox_block(frozen)
- walk · function · L496-L506 — def walk(node, where)
- test_a_concrete_path_is_filed_under_its_route_pattern · function · L518-L520 — def test_a_concrete_path_is_filed_under_its_route_pattern()
- test_a_specific_route_wins_over_the_catch_all_that_also_matches · function · L523-L536 — def test_a_specific_route_wins_over_the_catch_all_that_also_matches()
- test_an_unrecognised_path_is_not_filed_under_the_root_route · function · L539-L543 — def test_an_unrecognised_path_is_not_filed_under_the_root_route()
- test_a_prefix_match_has_to_end_on_a_segment_boundary · function · L546-L548 — def test_a_prefix_match_has_to_end_on_a_segment_boundary()
- test_a_query_string_does_not_create_a_second_route · function · L551-L552 — def test_a_query_string_does_not_create_a_second_route()
- test_success_and_failure_are_recorded_as_separate_contracts · function · L555-L562 — def test_success_and_failure_are_recorded_as_separate_contracts()
- test_a_response_from_an_unknown_path_is_flagged_not_silently_dropped · function · L565-L570 — def test_a_response_from_an_unknown_path_is_flagged_not_silently_dropped()
- test_a_non_json_body_is_ignored · function · L573-L577 — def test_a_non_json_body_is_ignored()
- test_the_frozen_artifact_exists_and_parses · function · L585-L590 — def test_the_frozen_artifact_exists_and_parses()
- test_standard_profile_readiness_is_a_frozen_response_contract · function · L593-L650 — def test_standard_profile_readiness_is_a_frozen_response_contract(frozen)
- test_the_managed_datapro_routes_are_frozen_from_real_local_responses · function · L653-L665 — def test_the_managed_datapro_routes_are_frozen_from_real_local_responses(frozen)
- test_the_managed_doubao_config_routes_are_frozen_from_local_responses · function · L668-L675 — def test_the_managed_doubao_config_routes_are_frozen_from_local_responses(frozen)
- test_every_frozen_route_is_a_route_the_server_actually_has · function · L678-L684 — def test_every_frozen_route_is_a_route_the_server_actually_has(frozen)
- test_every_frozen_entry_carries_a_usable_shape · function · L687-L694 — def test_every_frozen_entry_carries_a_usable_shape(frozen)
- test_coverage_does_not_silently_regress · function · L697-L704 — def test_coverage_does_not_silently_regress(frozen)
- test_the_artifact_records_no_observation_counts · function · L707-L711 — def test_the_artifact_records_no_observation_counts(frozen)
- test_a_declared_map_stays_a_map_when_its_keys_look_like_field_names · function · L714-L723 — def test_a_declared_map_stays_a_map_when_its_keys_look_like_field_names()
- test_a_declared_map_is_recognised_wherever_it_is_nested · function · L726-L729 — def test_a_declared_map_is_recognised_wherever_it_is_nested()
- test_a_field_keyed_by_a_bounded_vocabulary_stays_a_record · function · L732-L737 — def test_a_field_keyed_by_a_bounded_vocabulary_stays_a_record()
- test_no_frozen_route_publishes_a_dotless_filename_as_a_field · function · L740-L763 — def test_no_frozen_route_publishes_a_dotless_filename_as_a_field(frozen)
- walk · function · L745-L759 — def walk(node, where)
- test_the_frozen_envelope_never_declares_request_id_nullable · function · L766-L805 — def test_the_frozen_envelope_never_declares_request_id_nullable(frozen)
- test_the_envelope_status_is_the_http_status_except_where_a_route_owns_it · function · L808-L833 — def test_the_envelope_status_is_the_http_status_except_where_a_route_owns_it(frozen)