diff options
author | Viljami Ilola <+@hix.fi> | 2024-04-09 01:54:49 +0300 |
---|---|---|
committer | Viljami Ilola <+@hix.fi> | 2024-04-09 01:54:49 +0300 |
commit | 7a97b9c7a779aa7739e743770559ca7146ba6df3 (patch) | |
tree | 2b4f917a2187e74b27e0a272a8d15c48fd41f60f /tests | |
parent | 5981707f152b4e611abb50a6975a44548844117a (diff) |
use namespace package in importsv0.3b2
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test_display.py | 2 | ||||
-rw-r--r-- | tests/test_enemies.py | 6 | ||||
-rw-r--r-- | tests/test_scaling.py | 2 | ||||
-rw-r--r-- | tests/test_screens.py | 4 | ||||
-rw-r--r-- | tests/test_text.py | 2 |
5 files changed, 8 insertions, 8 deletions
diff --git a/tests/test_display.py b/tests/test_display.py index 5e01038..c61c262 100644 --- a/tests/test_display.py +++ b/tests/test_display.py @@ -2,7 +2,7 @@ import unittest import pygame -from display import Display +from sliceitoff.display import Display class TestDisplay(unittest.TestCase): def test_can_create(self): diff --git a/tests/test_enemies.py b/tests/test_enemies.py index 5182ea2..994ab77 100644 --- a/tests/test_enemies.py +++ b/tests/test_enemies.py @@ -5,9 +5,9 @@ import pygame from pathlib import Path -from enemies.enemies import EnemyBall, Enemies -from display import Scaling -from text import Fonts +from sliceitoff.enemies.enemies import EnemyBall, Enemies +from sliceitoff.display import Scaling +from sliceitoff.text import Fonts class TestEnemyBall(unittest.TestCase): def setUp(self): diff --git a/tests/test_scaling.py b/tests/test_scaling.py index 170dbab..ece1e16 100644 --- a/tests/test_scaling.py +++ b/tests/test_scaling.py @@ -1,6 +1,6 @@ import unittest -from display import Scaling, INTERNAL_HEIGHT, INTERNAL_WIDTH +from sliceitoff.display import Scaling, INTERNAL_HEIGHT, INTERNAL_WIDTH class TestScaling(unittest.TestCase): def test_update_scaling(self): diff --git a/tests/test_screens.py b/tests/test_screens.py index a81bc33..a95894b 100644 --- a/tests/test_screens.py +++ b/tests/test_screens.py @@ -3,9 +3,9 @@ import unittest from pathlib import Path -from text import Fonts, TextPage +from sliceitoff.text import Fonts, TextPage -from screens import ( +from sliceitoff.screens import ( gameover_screen, hiscores_screen, initials_screen, diff --git a/tests/test_text.py b/tests/test_text.py index c4f51fd..6db0723 100644 --- a/tests/test_text.py +++ b/tests/test_text.py @@ -3,7 +3,7 @@ import unittest from pathlib import Path -from text import Fonts, TextPage +from sliceitoff.text import Fonts, TextPage class TestText(unittest.TestCase): def setUp(self): |