summaryrefslogtreecommitdiffstats
path: root/Lib/idlelib/idle_test/test_configdialog.py
diff options
context:
space:
mode:
authorTerry Jan Reedy <tjreedy@udel.edu>2021-06-09 01:43:49 (GMT)
committerGitHub <noreply@github.com>2021-06-09 01:43:49 (GMT)
commit5571cabf1b3385087aba2c7c10289bba77494e08 (patch)
tree6023017e597404780b18f8167f576af136271679 /Lib/idlelib/idle_test/test_configdialog.py
parent9fd21f649d66dcb10108ee395fd68ed32c8239cd (diff)
downloadcpython-5571cabf1b3385087aba2c7c10289bba77494e08.zip
cpython-5571cabf1b3385087aba2c7c10289bba77494e08.tar.gz
cpython-5571cabf1b3385087aba2c7c10289bba77494e08.tar.bz2
bpo-40468: Factor out class ExtPage in idlelib.configdialog (GH-26618)
Diffstat (limited to 'Lib/idlelib/idle_test/test_configdialog.py')
-rw-r--r--Lib/idlelib/idle_test/test_configdialog.py14
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()