女圣职缺失十字架选项

This commit was merged in pull request #3.
This commit is contained in:
2026-06-22 11:18:25 +08:00
parent 43d2fa0196
commit b1f8422fcd
5 changed files with 31 additions and 4 deletions
@@ -0,0 +1,27 @@
from pathlib import Path
import pytest
PRIEST_FEMALE_FILES = [
"infighter_female.py",
"sorceress.py",
"inquistor.py",
"mistress.py",
]
@pytest.mark.parametrize("filename", PRIEST_FEMALE_FILES)
def test_priest_female_jobs_use_equipment_cross_weapon_name(filename):
character_file = (
Path(__file__).resolve().parents[2]
/ "core"
/ "character"
/ "GF"
/ "priest_female"
/ filename
)
source = character_file.read_text(encoding="utf-8")
assert "self.武器选项 = ['十字架', '念珠', '图腾', '镰刀', '战斧']" in source
assert "'光杖'" not in source