ok

Mini Shell

Direktori : /usr/lib64/python2.7/lib-tk/test/test_ttk/
Upload File :
Current File : //usr/lib64/python2.7/lib-tk/test/test_ttk/test_style.pyc

�
]цdc@s�ddlZddlZddlZddlmZmZddlZed�dejfd��YZefZ	e
dkr�ee	�ndS(i����N(trequirestrun_unittesttguit	StyleTestcBs>eZd�Zd�Zd�Zd�Zd�Zd�ZRS(cCstj�|_dS(N(tttktStyletstyle(tself((s7/usr/lib64/python2.7/lib-tk/test/test_ttk/test_style.pytsetUpscCs[|j}|jddd�|j|jdd�d�|jt|jd�t��dS(NtTButtont
backgroundtyellow(Rt	configuretassertEqualt
assertTruet
isinstancetdict(RR((s7/usr/lib64/python2.7/lib-tk/test/test_ttk/test_style.pyttest_configures
	cCsa|j}|jdddg�|j|jdd�dg�|jt|jd�t��dS(NR	R
tactivetblue(RR
R(RR
R(RtmapR
RRR(RR((s7/usr/lib64/python2.7/lib-tk/test/test_ttk/test_style.pyttest_maps
	
cCs�|j}|jddd�|jddd	g�|j|jdd�d�|j|jddddg�d�|j|jdddd�d�dS(
NR	R
RRRtoptionnotdefinedtdefaulttiknewit(sactiveR
sblue(RRRR
tlookup(RR((s7/usr/lib64/python2.7/lib-tk/test/test_ttk/test_style.pyttest_lookup s	cCs�|j}|jtj|jd�|jd�}|jdd�|j|jd�didd6fg�|jd|�|j|jd�|�|jt|jd�t��|jtj|jddid	d
6fg�dS(Nt
NotALayouttTreeviewttnulltnswetstickyR	tnamet
inexistenttoption(	RtassertRaisestTkintertTclErrortlayoutR
RRtlist(RRttv_style((s7/usr/lib64/python2.7/lib-tk/test/test_ttk/test_style.pyttest_layout,s	cCs�|jtj|jjd�|jj�}d}xA|jj�D],}||krA|}|jj|�PqAqAWdS|j||k�|j||jj�k�|jj|�dS(Ntnonexistingname(R$R%R&Rt	theme_usetNonettheme_namestassertFalse(Rt
curr_themet	new_themettheme((s7/usr/lib64/python2.7/lib-tk/test/test_ttk/test_style.pyttest_theme_useCs(t__name__t
__module__RRRRR*R3(((s7/usr/lib64/python2.7/lib-tk/test/test_ttk/test_style.pyR
s					t__main__(tunittestR%Rttest.test_supportRRtsupporttTestCaseRt	tests_guiR4(((s7/usr/lib64/python2.7/lib-tk/test/test_ttk/test_style.pyt<module>s
N	

Zerion Mini Shell 1.0