summaryrefslogtreecommitdiff
path: root/tests/test_enemies.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_enemies.py')
-rw-r--r--tests/test_enemies.py12
1 files changed, 4 insertions, 8 deletions
diff --git a/tests/test_enemies.py b/tests/test_enemies.py
index 994ab77..c77faea 100644
--- a/tests/test_enemies.py
+++ b/tests/test_enemies.py
@@ -11,10 +11,8 @@ from sliceitoff.text import Fonts
class TestEnemyBall(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_create(self):
enemy = EnemyBall()
@@ -23,10 +21,8 @@ class TestEnemyBall(unittest.TestCase):
class TestEnemies(unittest.TestCase):
def setUp(self):
Scaling.update_scaling((640,400))
- 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_create(self):
enemies = Enemies()