You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
test(schema): name the field when _splitters can't reach it in FULL
A pattern constraint on a field FULL omits made _splitters raise a bare
KeyError out of _get, since it read the path unguarded.
test_the_fixture_reaches_every_pattern_in_the_schema already catches the
same reachability gap cleanly and by field name via _reachable; this was
the other place reading an arbitrary schema path out of FULL, and it
failed worse when it hit the same gap.
_splitters now checks reachability first and raises LookupError naming the
field, and test_every_pattern_is_mirrored_or_split_or_declared catches
that and reports it alongside every other unaccounted pattern instead of
aborting the run. test_a_missing_path_fails_with_the_field_name_not_a_keyerror
covers it directly.
Signed-off-by: chernistry <sanderchernitsky@gmail.com>
0 commit comments