data(spells): add batch 3 of PC spell list (32 spells)

This commit is contained in:
2026-09-10 19:43:07 +02:00
parent 543da6a931
commit 1ca5aed758
37 changed files with 579 additions and 8 deletions
+4 -4
View File
@@ -123,13 +123,13 @@ def _make_engine(
class TestSpellLoading:
"""Given: data/spells/ directory with 75 JSON spell files
"""Given: data/spells/ directory with 107 JSON spell files
When: load_spell_registry is called
Then: all 75 spells are loaded with correct fields."""
Then: all 107 spells are loaded with correct fields."""
def test_loads_all_10_spells(self) -> None:
reg = load_spell_registry(_SPELLS_DIR)
assert len(reg) == 75
assert len(reg) == 107
def test_spell_names_present(self) -> None:
reg = load_spell_registry(_SPELLS_DIR)
@@ -140,7 +140,7 @@ class TestSpellLoading:
"Summon Monster II",
}
assert expected <= set(reg)
assert len(reg) == 75
assert len(reg) == 107
def test_fireball_fields(self) -> None:
spell = load_spell(_SPELLS_DIR / "fireball.json")