diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2021-06-09 02:11:26 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-09 02:11:26 (GMT) |
commit | 33a7a24288988134e89200a33802af56a2dee31e (patch) | |
tree | 4f9c1665bc072ea0f17b1d486c65b8d7fc31a797 /Lib/idlelib/idle_test | |
parent | c0496093e54edb78d2bd09b083b73e1e5b9e7242 (diff) | |
download | cpython-33a7a24288988134e89200a33802af56a2dee31e.zip cpython-33a7a24288988134e89200a33802af56a2dee31e.tar.gz cpython-33a7a24288988134e89200a33802af56a2dee31e.tar.bz2 |
bpo-40468: Factor out class ExtPage in idlelib.configdialog (GH-26618)
(cherry picked from commit 5571cabf1b3385087aba2c7c10289bba77494e08)
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
Diffstat (limited to 'Lib/idlelib/idle_test')
-rw-r--r-- | Lib/idlelib/idle_test/test_configdialog.py | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/Lib/idlelib/idle_test/test_configdialog.py b/Lib/idlelib/idle_test/test_configdialog.py index 214d1b3..e01aa63 100644 --- a/Lib/idlelib/idle_test/test_configdialog.py +++ b/Lib/idlelib/idle_test/test_configdialog.py @@ -1292,12 +1292,22 @@ class GenPageTest(unittest.TestCase): self.assertEqual(extpage, {'CodeContext': {'maxlines': '1'}}) +#unittest.skip("Nothing here yet TODO") +class ExtPageTest(unittest.TestCase): + """Test that the help source list works correctly.""" + @classmethod + def setUpClass(cls): + page = dialog.extpage + dialog.note.select(page) + + class HelpSourceTest(unittest.TestCase): """Test that the help source list works correctly.""" @classmethod def setUpClass(cls): - dialog.note.select(dialog.extpage) - frame = cls.frame = dialog.frame_help + page = dialog.extpage + dialog.note.select(page) + frame = cls.frame = page.frame_help frame.set = frame.set_add_delete_state = Func() frame.upc = frame.update_help_changes = Func() frame.update() |