diff options
author | Viljami Ilola <+@hix.fi> | 2024-04-27 16:03:08 +0300 |
---|---|---|
committer | Viljami Ilola <+@hix.fi> | 2024-04-27 16:03:08 +0300 |
commit | d64c6b122eacd7b33bbda3a62093b492c786b1f9 (patch) | |
tree | 8145f0baae4fa822281ea8f8c05381abc747fee8 /tests/test_screens.py | |
parent | d73fe4bb20e544443476ebb4c9fc593fa0a8ad4a (diff) |
refactor menus
Diffstat (limited to 'tests/test_screens.py')
-rw-r--r-- | tests/test_screens.py | 7 |
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)) |