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.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/tests/test_screens.py b/tests/test_screens.py
index a95894b..8e5ab34 100644
--- a/tests/test_screens.py
+++ b/tests/test_screens.py
@@ -17,10 +17,8 @@ from sliceitoff.screens import (
class TestScreens(unittest.TestCase):
def setUp(self):
- Fonts.load_fonts(os.path.join(
- Path(__file__).parent.parent.resolve(),
- "src",
- "sliceitoff"))
+ Fonts.load_fonts( Path(__file__).parent.parent.resolve()
+ .joinpath('src').joinpath('sliceitoff').joinpath('assets'))
def test_can_run_gameover(self):
page = gameover_screen()