diff options
Diffstat (limited to 'tests/test_player.py')
-rw-r--r-- | tests/test_player.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_player.py b/tests/test_player.py index bf3647a..82da106 100644 --- a/tests/test_player.py +++ b/tests/test_player.py @@ -7,7 +7,7 @@ import unittest import pygame from sliceitoff.player import Player, Life -from sliceitoff.text import Fonts +from sliceitoff.text import fonts from sliceitoff.display import Scaling class TestPlayer(unittest.TestCase): @@ -31,7 +31,7 @@ class TestPlayer(unittest.TestCase): class TestLife(unittest.TestCase): def setUp(self): Scaling.update_scaling((640,480)) - Fonts.load_fonts( Path(__file__).parent.parent.resolve() + fonts.init( Path(__file__).parent.parent.resolve() .joinpath('src').joinpath('sliceitoff').joinpath('assets')) self.life = Life() |