updated tests

This commit is contained in:
Ben Cook
2019-01-02 15:47:52 -05:00
parent e6c67df8d3
commit d723a047c6
+2 -2
View File
@@ -4,13 +4,13 @@ import os
from dungeonsheets import make_sheets, character
EG_DIR = os.path.abspath(os.path.join(os.path.split(__file__)[0], '../examples/'))
CHARFILE = os.path.join(EG_DIR, 'rogue.py')
CHARFILE = os.path.join(EG_DIR, 'rogue1.py')
class CharacterFileTestCase(unittest.TestCase):
def test_load_character_file(self):
charfile = CHARFILE
result = make_sheets.load_character_file(charfile)
self.assertEqual(result['strength'], 8)
self.assertEqual(result['strength'], 10)
class PdfOutputTeestCase(unittest.TestCase):