ROOTPLOIT
Server: LiteSpeed
System: Linux server71.web-hosting.com 4.18.0-513.18.1.lve.el8.x86_64 #1 SMP Thu Feb 22 12:55:50 UTC 2024 x86_64
User: niphet (1079)
PHP: 5.3.29
Disabled: NONE
Upload Files
File: //lib64/python2.7/idlelib/idle_test/test_config_name.pyc
ó
{fc@s«dZddlZddlmZmZddlmZejZ	de
fd„ƒYZejZ
ejZdejfd„ƒYZed	kr§ejd
ddeƒndS(
s.Unit tests for idlelib.configSectionNameDialogiÿÿÿÿN(tVartMbox(tconfigSectionNameDialogtDummy_name_dialogcBs\eZejjZejjZejjZdgZeƒZ	dZeZ
d„Zd„ZRS(tusedcCsdS(N((tself((s:/usr/lib64/python2.7/idlelib/idle_test/test_config_name.pytgrab_releasescCs
t|_dS(N(tTruet	destroyed(R((s:/usr/lib64/python2.7/idlelib/idle_test/test_config_name.pytdestroysN(t__name__t
__module__tname_dialogtname_oktim_functOktCancelt
used_namesRtnametNonetresulttFalseRRR	(((s:/usr/lib64/python2.7/idlelib/idle_test/test_config_name.pyRs			tConfigNameTestcBseeZeƒZed„ƒZed„ƒZd„Zd„Zd„Z	d„Z
d„Zd„ZRS(cCs
tt_dS(N(Rtname_dialog_modulettkMessageBox(tcls((s:/usr/lib64/python2.7/idlelib/idle_test/test_config_name.pyt
setUpClassscCs
tt_dS(N(t	orig_mboxRR(R((s:/usr/lib64/python2.7/idlelib/idle_test/test_config_name.pyt
tearDownClass"scCsV|jjjdƒ|j|jjƒdƒ|jtjdƒ|jdtjƒdS(Nt ts
Name ErrortNo(	tdialogRtsettassertEqualR
t	showerrorttitletassertIntmessage(R((s:/usr/lib64/python2.7/idlelib/idle_test/test_config_name.pyttest_blank_name&scCsV|jjjdƒ|j|jjƒdƒ|jtjdƒ|jdtjƒdS(NRRs
Name Errortuse(	R RR!R"R
R#R$R%R&(R((s:/usr/lib64/python2.7/idlelib/idle_test/test_config_name.pyttest_used_name,scCsZ|jjjddƒ|j|jjƒdƒ|jtjdƒ|jdtjƒdS(NtgoodiRs
Name Errorstoo long(	R RR!R"R
R#R$R%R&(R((s:/usr/lib64/python2.7/idlelib/idle_test/test_config_name.pyttest_long_name2scCsL|jjjdƒdt_|j|jjƒdƒ|jtjdƒdS(Ns  good sNo ErrorR*(R RR!R#R$R"R
(R((s:/usr/lib64/python2.7/idlelib/idle_test/test_config_name.pyttest_good_name8s	cCsYt|j_|jjjdƒ|jjƒ|j|jjdƒ|j|jjƒdS(NR*(	RR RRR!RR"Rt
assertTrue(R((s:/usr/lib64/python2.7/idlelib/idle_test/test_config_name.pyttest_ok>s

cCsFt|j_|jjƒ|j|jjdƒ|j|jjƒdS(NR(RR RRR"RR-(R((s:/usr/lib64/python2.7/idlelib/idle_test/test_config_name.pyttest_cancelEs
(
R
RRR tclassmethodRRR'R)R+R,R.R/(((s:/usr/lib64/python2.7/idlelib/idle_test/test_config_name.pyRs						t__main__t	verbosityitexit(t__doc__tunittesttidlelib.idle_test.mock_tkRRtidlelibRRtGetCfgSectionNameDialogRtobjectRRRR#tTestCaseRR
tmainR(((s:/usr/lib64/python2.7/idlelib/idle_test/test_config_name.pyt<module>s			1