summaryrefslogtreecommitdiff
path: root/tests/test_screens.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_screens.py')
-rw-r--r--tests/test_screens.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_screens.py b/tests/test_screens.py
index 8e5ab34..00cf694 100644
--- a/tests/test_screens.py
+++ b/tests/test_screens.py
@@ -3,7 +3,7 @@ import unittest
from pathlib import Path
-from sliceitoff.text import Fonts, TextPage
+from sliceitoff.text import fonts, TextPage
from sliceitoff.screens import (
gameover_screen,
@@ -17,7 +17,7 @@ from sliceitoff.screens import (
class TestScreens(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_run_gameover(self):