Fixed broken tests.

This commit is contained in:
Mark Wolfman
2021-06-12 15:37:10 -05:00
parent 6dcd20f877
commit 1abfcaf657
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -47,7 +47,7 @@ def read_sheet_file(filename: Union[str, Path]) -> dict:
char_props = {}
parent_sheets = these_props.pop('parent_sheets', [])
for parent_sheet in parent_sheets:
parent_sheet = Path(parent_sheet)
parent_sheet = (filename.parent / parent_sheet).resolve()
if parent_sheet != filename:
parent_props = read_sheet_file(parent_sheet)
char_props.update(parent_props)
+1 -1
View File
@@ -7,7 +7,7 @@ from dungeonsheets import make_sheets, character, monsters
EG_DIR = Path(__file__).parent.parent.resolve() / "examples"
CHARFILE = EG_DIR / "rogue1.py"
GMFILE = EG_DIR / "gm.py"
GMFILE = EG_DIR / "gm-session-notes.py"
class MakeSheetsTestCase(unittest.TestCase):
+1 -1
View File
@@ -9,7 +9,7 @@ from dungeonsheets.readers import read_sheet_file
EG_DIR = (Path(__file__).parent.parent / "examples").resolve()
CHAR_PYTHON_FILE = EG_DIR / "rogue1.py"
GM_PYTHON_FILE = EG_DIR / "gm.py"
GM_PYTHON_FILE = EG_DIR / "gm-session-notes.py"
ROLL20_JSON_FILE = EG_DIR / "barbarian3.json"
FOUNDRY_JSON_FILE = EG_DIR / "bard3_foundry.json"
SPELLCASTER_JSON_FILE = EG_DIR / "artificer2.json"