]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Issue18130: Test class idlelib.configSectionNameDialog.GetCfgSectionNameDialog.
authorTerry Jan Reedy <tjreedy@udel.edu>
Wed, 5 Jun 2013 18:24:42 +0000 (14:24 -0400)
committerTerry Jan Reedy <tjreedy@udel.edu>
Wed, 5 Jun 2013 18:24:42 +0000 (14:24 -0400)
commit8d6834a28e244f70ad9576f8895113387858ef91
tree1be660510b6895722a6c5af7d574211bd71342cd
parent964c25f1d91d2f56bf3924b1d1feefaeb3b3b2c5
Issue18130: Test class idlelib.configSectionNameDialog.GetCfgSectionNameDialog.
Fix bug in existing human test and add instructions; fix two bugs in tested
code; remove redundancies, add spaces, and change two internal method names.
Add mock_tk with mocks for tkinter.Variable subclasses and tkinter.messagebox.
Use mocks in test_config_name to unittest methods that are otherwise gui-free.
Lib/idlelib/configSectionNameDialog.py
Lib/idlelib/idle_test/mock_tk.py [new file with mode: 0644]
Lib/idlelib/idle_test/test_config_name.py [new file with mode: 0644]