summaryrefslogtreecommitdiff
path: root/tests/test_text.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_text.py')
-rw-r--r--tests/test_text.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_text.py b/tests/test_text.py
index 6cd8c5a..5228782 100644
--- a/tests/test_text.py
+++ b/tests/test_text.py
@@ -3,11 +3,11 @@ import unittest
from pathlib import Path
-from sliceitoff.text import Fonts, TextPage
+from sliceitoff.text import fonts, TextPage
class TestText(unittest.TestCase):
def setUp(self):
- Fonts.load_fonts( Path(__file__).parent.parent.resolve()
+ fonts.init( Path(__file__).parent.parent.resolve()
.joinpath('src').joinpath('sliceitoff').joinpath('assets'))
def test_can_create(self):