summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorViljami Ilola <+@hix.fi>2024-04-27 16:03:08 +0300
committerViljami Ilola <+@hix.fi>2024-04-27 16:03:08 +0300
commitd64c6b122eacd7b33bbda3a62093b492c786b1f9 (patch)
tree8145f0baae4fa822281ea8f8c05381abc747fee8 /tests
parentd73fe4bb20e544443476ebb4c9fc593fa0a8ad4a (diff)
refactor menus
Diffstat (limited to 'tests')
-rw-r--r--tests/test_screens.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/tests/test_screens.py b/tests/test_screens.py
index 00cf694..800dcd5 100644
--- a/tests/test_screens.py
+++ b/tests/test_screens.py
@@ -13,7 +13,8 @@ from sliceitoff.screens import (
instructions2_screen,
level_screen,
levelup_screen,
- mainmenu_screen)
+ mainmenu_screen,
+ settings_screen)
class TestScreens(unittest.TestCase):
def setUp(self):
@@ -61,3 +62,7 @@ class TestScreens(unittest.TestCase):
def test_can_run_mainmenu(self):
page = mainmenu_screen(2)
self.assertEqual(TextPage, type(page))
+
+ def test_can_run_mainmenu(self):
+ page = settings_screen(2)
+ self.assertEqual(TextPage, type(page))