PATH:
opt
/
alt
/
python34
/
lib64
/
python3.4
/
idlelib
/
idle_test
'''Unittests for idlelib/configHandler.py Coverage: 46% just by creating dialog. The other half is change code. ''' import unittest from test.support import requires from tkinter import Tk from idlelib.configDialog import ConfigDialog from idlelib.macosxSupport import _initializeTkVariantTests class ConfigDialogTest(unittest.TestCase): @classmethod def setUpClass(cls): requires('gui') cls.root = Tk() _initializeTkVariantTests(cls.root) @classmethod def tearDownClass(cls): cls.root.destroy() del cls.root def test_dialog(self): d=ConfigDialog(self.root, 'Test', _utest=True) d.destroy() if __name__ == '__main__': unittest.main(verbosity=2)
[-] htest.py
[edit]
[+]
__pycache__
[-] __init__.py
[edit]
[-] test_delegator.py
[edit]
[-] test_io.py
[edit]
[-] test_grep.py
[edit]
[-] test_searchengine.py
[edit]
[-] mock_idle.py
[edit]
[-] test_parenmatch.py
[edit]
[-] test_calltips.py
[edit]
[-] test_config_name.py
[edit]
[-] test_autoexpand.py
[edit]
[-] test_textview.py
[edit]
[-] test_rstrip.py
[edit]
[-] test_editor.py
[edit]
[-] test_text.py
[edit]
[-] test_autocomplete.py
[edit]
[-] test_configdialog.py
[edit]
[-] test_hyperparser.py
[edit]
[+]
..
[-] README.txt
[edit]
[-] test_widgetredir.py
[edit]
[-] test_idlehistory.py
[edit]
[-] test_warning.py
[edit]
[-] test_pathbrowser.py
[edit]
[-] test_formatparagraph.py
[edit]
[-] mock_tk.py
[edit]
[-] test_searchdialogbase.py
[edit]