summaryrefslogtreecommitdiff
path: root/tests/test_player.py
diff options
context:
space:
mode:
authorViljami Ilola <+@hix.fi>2024-04-20 23:34:13 +0300
committerViljami Ilola <+@hix.fi>2024-04-20 23:34:13 +0300
commit9ae60c3e487fbceb54cee462d4f8f0b0a3682ba1 (patch)
treedddebe8d40f91e881ffc07be283a7da5f2152ff2 /tests/test_player.py
parent32c09ea3ecb77601c08e392c178ee3732bd26f4d (diff)
fix tests path
Diffstat (limited to 'tests/test_player.py')
-rw-r--r--tests/test_player.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/tests/test_player.py b/tests/test_player.py
index 56ed1cd..bf3647a 100644
--- a/tests/test_player.py
+++ b/tests/test_player.py
@@ -31,10 +31,8 @@ class TestPlayer(unittest.TestCase):
class TestLife(unittest.TestCase):
def setUp(self):
Scaling.update_scaling((640,480))
- 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'))
self.life = Life()
def test_can_create(self):