女圣职缺失十字架选项
This commit was merged in pull request #3.
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user