mirror of
https://github.com/Threnklyn/dungeon-sheets.git
synced 2026-05-19 04:33:26 +02:00
Removed a deprecated test.
This commit is contained in:
@@ -245,10 +245,6 @@ def merge_pdfs(src_filenames, dest_filename, clean_up=False):
|
||||
os.remove(sheet)
|
||||
|
||||
|
||||
# # Deprecated:
|
||||
# load_character_file = readers.read_character_file
|
||||
|
||||
|
||||
def _build(filename, args) -> int:
|
||||
basename = filename.stem
|
||||
print(f"Processing {basename}...")
|
||||
|
||||
@@ -10,15 +10,6 @@ EG_DIR = os.path.abspath(os.path.join(os.path.split(__file__)[0], "../examples/"
|
||||
CHARFILE = os.path.join(EG_DIR, "rogue1.py")
|
||||
|
||||
|
||||
class CharacterFileTestCase(unittest.TestCase):
|
||||
example_dir = Path(__file__).parent.parent / "examples"
|
||||
|
||||
def test_load_character_file(self):
|
||||
charfile = CHARFILE
|
||||
result = make_sheets.load_character_file(charfile)
|
||||
self.assertEqual(result["strength"], 10)
|
||||
|
||||
|
||||
class PdfOutputTestCase(unittest.TestCase):
|
||||
basename = "clara"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user