From d64c6b122eacd7b33bbda3a62093b492c786b1f9 Mon Sep 17 00:00:00 2001 From: Viljami Ilola <+@hix.fi> Date: Sat, 27 Apr 2024 16:03:08 +0300 Subject: refactor menus --- tests/test_screens.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'tests/test_screens.py') 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)) -- cgit v1.2.3