Files
romm/backend/tests/tasks/fixtures
Sam Dornan 3fb2e36350 fix(launchbox): normalize every metadata store key on write
Lookups strip the term they search for (and lowercase it where the index
is lowercased), but the import task keyed entries off raw XML text. The
dump has no padded values today, so nothing is broken, but if LaunchBox
ever pretty-printed one of these files the affected index would go dark
with no way to tell from the outside.

The fixture now pads one entry per index the way a pretty-printed dump
would, and the assertions check key text rather than just call counts, so
a regression here fails the test instead of quietly shipping.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-08-06 12:50:24 -05:00
..