OwlCyberSecurity - MANAGER
Edit File: test_config_name.pyo
� {fc�����������@���s����d��Z��d�d�l�Z�d�d�l�m�Z�m�Z�d�d�l�m�Z�e�j�Z �d�e �f�d�������YZ�e�j�Z �e�j�Z�d�e�j�f�d�������YZ�e�d �k�r��e�j�d �d�d�e���n��d�S( ���s.���Unit tests for idlelib.configSectionNameDialogi����N(���t���Vart���Mbox(���t���configSectionNameDialogt���Dummy_name_dialogc�����������B���s\���e��Z�e�j�j�Z�e�j�j�Z�e�j�j�Z�d��g�Z�e����Z �d�Z�e�Z �d����Z�d����Z�RS(���t���usedc���������C���s���d��S(���N(����(���t���self(����(����s:���/usr/lib64/python2.7/idlelib/idle_test/test_config_name.pyt���grab_release���s����c���������C���s ���t��|��_�d��S(���N(���t���Truet ���destroyed(���R���(����(����s:���/usr/lib64/python2.7/idlelib/idle_test/test_config_name.pyt���destroy���s����N(���t���__name__t ���__module__t���name_dialogt���name_okt���im_funct���Okt���Cancelt ���used_namesR����t���namet���Nonet���resultt���FalseR���R���R ���(����(����(����s:���/usr/lib64/python2.7/idlelib/idle_test/test_config_name.pyR������s��� t���ConfigNameTestc�����������B���se���e��Z�e����Z�e�d�������Z�e�d������Z�d����Z�d����Z�d����Z �d����Z �d����Z�d����Z�RS(���c���������C���s ���t��t�_�d��S(���N(���R���t���name_dialog_modulet���tkMessageBox(���t���cls(����(����s:���/usr/lib64/python2.7/idlelib/idle_test/test_config_name.pyt ���setUpClass���s����c���������C���s ���t��t�_�d��S(���N(���t ���orig_mboxR���R���(���R���(����(����s:���/usr/lib64/python2.7/idlelib/idle_test/test_config_name.pyt ���tearDownClass"���s����c���������C���sV���|��j��j�j�d���|��j�|��j��j����d���|��j�t�j�d���|��j�d�t�j���d��S(���Nt��� t����s ���Name Errort���No( ���t���dialogR���t���sett���assertEqualR ���t ���showerrort���titlet���assertInt���message(���R���(����(����s:���/usr/lib64/python2.7/idlelib/idle_test/test_config_name.pyt���test_blank_name&���s����c���������C���sV���|��j��j�j�d���|��j�|��j��j����d���|��j�t�j�d���|��j�d�t�j���d��S(���NR���R���s ���Name Errort���use( ���R ���R���R!���R"���R ���R#���R$���R%���R&���(���R���(����(����s:���/usr/lib64/python2.7/idlelib/idle_test/test_config_name.pyt���test_used_name,���s����c���������C���sZ���|��j��j�j�d�d���|��j�|��j��j����d���|��j�t�j�d���|��j�d�t�j���d��S(���Nt���goodi���R���s ���Name Errors���too long( ���R ���R���R!���R"���R ���R#���R$���R%���R&���(���R���(����(����s:���/usr/lib64/python2.7/idlelib/idle_test/test_config_name.pyt���test_long_name2���s����c���������C���sL���|��j��j�j�d���d�t�_�|��j�|��j��j����d���|��j�t�j�d���d��S(���Ns��� good s���No ErrorR*���(���R ���R���R!���R#���R$���R"���R ���(���R���(����(����s:���/usr/lib64/python2.7/idlelib/idle_test/test_config_name.pyt���test_good_name8���s���� c���������C���sY���t��|��j�_�|��j�j�j�d���|��j�j����|��j�|��j�j�d���|��j�|��j�j���d��S(���NR*���( ���R���R ���R���R���R!���R���R"���R���t ���assertTrue(���R���(����(����s:���/usr/lib64/python2.7/idlelib/idle_test/test_config_name.pyt���test_ok>���s ���� c���������C���sF���t��|��j�_�|��j�j����|��j�|��j�j�d���|��j�|��j�j���d��S(���NR���(���R���R ���R���R���R"���R���R-���(���R���(����(����s:���/usr/lib64/python2.7/idlelib/idle_test/test_config_name.pyt���test_cancelE���s���� ( ���R ���R���R���R ���t���classmethodR���R���R'���R)���R+���R,���R.���R/���(����(����(����s:���/usr/lib64/python2.7/idlelib/idle_test/test_config_name.pyR������s��� t���__main__t ���verbosityi���t���exit(���t���__doc__t���unittestt���idlelib.idle_test.mock_tkR����R���t���idlelibR���R���t���GetCfgSectionNameDialogR���t���objectR���R���R���R#���t���TestCaseR���R ���t���mainR���(����(����(����s:���/usr/lib64/python2.7/idlelib/idle_test/test_config_name.pyt���<module>���s��� 1