diff options
author | Viljami Ilola <+@hix.fi> | 2024-04-21 00:03:22 +0300 |
---|---|---|
committer | Viljami Ilola <+@hix.fi> | 2024-04-21 00:03:22 +0300 |
commit | 9f808fa0e43ae903d6159848d1331dcccb91434d (patch) | |
tree | 4e45858383aff0399184395875966765bb9964cb /tests/test_enemies.py | |
parent | 360a680cdb03df60673581a8f187c4074a78dd21 (diff) |
fonts as object
Diffstat (limited to 'tests/test_enemies.py')
-rw-r--r-- | tests/test_enemies.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/test_enemies.py b/tests/test_enemies.py index c77faea..0ba2f53 100644 --- a/tests/test_enemies.py +++ b/tests/test_enemies.py @@ -7,11 +7,11 @@ from pathlib import Path from sliceitoff.enemies.enemies import EnemyBall, Enemies from sliceitoff.display import Scaling -from sliceitoff.text import Fonts +from sliceitoff.text import fonts class TestEnemyBall(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): @@ -21,7 +21,7 @@ class TestEnemyBall(unittest.TestCase): class TestEnemies(unittest.TestCase): def setUp(self): Scaling.update_scaling((640,400)) - 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): |