Commit Graph
4 Commits
Author SHA1 Message Date
uzairarslan b835c7e1da Add conjured items
Conjured items degrade twice as fast as normal ones. Matched by name
prefix so any "Conjured ..." item works, not just the Mana Cake.
Wrote the tests first, then the updater. Only the Mana Cake lines
changed in the approved output.
2026-09-24 03:21:33 +05:00
uzairarslan 3809be0b03 Add unit tests for the existing rules
One test per rule from the requirements, replacing test_foo. Tier
boundaries are checked on both sides, e.g. backstage passes at 11 and 10,
so an off-by-one can't slip through. All pass against the original code
with 100% branch coverage.
2026-09-24 03:21:18 +05:00
uzairarslan 5f113a1d2f Approve current output and fix the approval test reporter
Approved the 30 day fixture output as-is so there is a baseline before
refactoring. Conjured Mana Cake is still wrong here, that changes later.

The approval test was also crashing with "no reporter configuration"
instead of showing a diff. pytest-approvaltests 0.2.4 doesn't work with
approvaltests 19, so pass PythonNativeReporter directly.
2026-09-16 13:54:27 -04:00
emily 58a991fe27 Added approvals version of python test 2025-06-22 17:30:00 +02:00