Patch notes page

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
rope 2026-10-21 15:36:16 +01:00
parent eb51bc80b6
commit b27f8682c5
4 changed files with 59 additions and 6 deletions

View file

@ -1571,10 +1571,6 @@ class IconTest(unittest.TestCase):
self.assertIn("glyph", spec, item)
if __name__ == "__main__":
unittest.main()
class CombatReworkMigrationTest(unittest.TestCase):
def test_old_monsters_trophies_and_dragonhide_carry_over(self):
world = world_with(("kay", "ranger"))
@ -2041,3 +2037,18 @@ class FirekeepingTest(unittest.TestCase):
self.assertEqual(set(self.world["city"]["fires"]), set(game.FIRES))
self.assertEqual(self.kai["xp"]["firekeeping"], 0)
self.assertIn("tool_firekeeping", self.kai["equip"])
class PatchNotesTest(unittest.TestCase):
def test_newest_first_and_known_kinds(self):
dates = [release["date"] for release in game.PATCH_NOTES]
self.assertEqual(dates, sorted(dates, reverse=True))
for release in game.PATCH_NOTES:
self.assertTrue(release["notes"])
for kind, text in release["notes"]:
self.assertIn(kind, ("new", "balance", "fix"))
self.assertTrue(text)
if __name__ == "__main__":
unittest.main()