data(spells): add batch 2 of PC spell list (32 spells)
This commit is contained in:
@@ -123,13 +123,13 @@ def _make_engine(
|
||||
|
||||
|
||||
class TestSpellLoading:
|
||||
"""Given: data/spells/ directory with 43 JSON spell files
|
||||
"""Given: data/spells/ directory with 75 JSON spell files
|
||||
When: load_spell_registry is called
|
||||
Then: all 43 spells are loaded with correct fields."""
|
||||
Then: all 75 spells are loaded with correct fields."""
|
||||
|
||||
def test_loads_all_10_spells(self) -> None:
|
||||
reg = load_spell_registry(_SPELLS_DIR)
|
||||
assert len(reg) == 43
|
||||
assert len(reg) == 75
|
||||
|
||||
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) == 43
|
||||
assert len(reg) == 75
|
||||
|
||||
def test_fireball_fields(self) -> None:
|
||||
spell = load_spell(_SPELLS_DIR / "fireball.json")
|
||||
|
||||
Reference in New Issue
Block a user