Files
romm/backend/tests/handler
Sam Dornan 108381803e Narrow the stored-criteria Optional in tests
`from_stored_criteria` answers None now, so the tests reading fields off it
need the same narrowing helper the collections tests use, and two splats
need annotating where the model's fields are heterogeneous.

These are mypy findings the local check missed: `.trunk/configs/mypy.ini`
sets `check_untyped_defs`, without which mypy skips the bodies of
unannotated test functions entirely, and Trunk passes changed files
explicitly, which bypasses that config's `exclude` of `tests`.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01MLreYqGLgHJLei6NThVXCz
2026-09-13 06:49:35 +00:00
..
2026-03-22 16:30:14 -04:00