__  __    __   __  _____      _            _          _____ _          _ _ 
 |  \/  |   \ \ / / |  __ \    (_)          | |        / ____| |        | | |
 | \  / |_ __\ V /  | |__) | __ ___   ____ _| |_ ___  | (___ | |__   ___| | |
 | |\/| | '__|> <   |  ___/ '__| \ \ / / _` | __/ _ \  \___ \| '_ \ / _ \ | |
 | |  | | |_ / . \  | |   | |  | |\ V / (_| | ||  __/  ____) | | | |  __/ | |
 |_|  |_|_(_)_/ \_\ |_|   |_|  |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1
 if you need WebShell for Seo everyday contact me on Telegram
 Telegram Address : @jackleet
        
        
For_More_Tools: Telegram: @jackleet | Bulk Smtp support mail sender | Business Mail Collector | Mail Bouncer All Mail | Bulk Office Mail Validator | Html Letter private



Upload:

Command:

aptanhua@216.73.216.7: ~ $
3

� f2�@s�dZddlmZddlmZddlZddlmZddlmZddl	m
Z
ddlZddlm
Zdd	lmZdd
lmZGdd�dej�ZeZd.\ZZejeded�Zejedd�Zejedd�Zejedd�Zejeddged�Z eje dd�Z!eje dddg�Z"eje"dd �Z#eje#d!d"�Z$ee d#�Z%ej&e%d
�ej&e j'�Gd$d%�d%ej�Z(Gd&d'�d'ej�Z)Gd(d)�d)ej�Z*Gd*d+�d+ej�Z+e,d,k�r�ej-dd-�dS)/zTest browser, coverage 90%.�)�browser)�requiresN)�mock)�Func)�deque)�_pyclbr)�Tk)�TreeNodec@sDeZdZedd��Zedd��Zdd�Zdd�Zd	d
�Zdd�Z	d
S)�ModuleBrowserTestcCs2td�t�|_|jj�tj|jtdd�|_dS)NZguiT)Z_utest)rr�rootZwithdrawrZ
ModuleBrowser�__file__�mb)�cls�r�C/opt/alt/python36/lib64/python3.6/idlelib/idle_test/test_browser.py�
setUpClasss
zModuleBrowserTest.setUpClasscCs*|jj�|jj�|jj�|`|`dS)N)r
�closerZupdate_idletasks�destroy)rrrr�
tearDownClasss


zModuleBrowserTest.tearDownClasscCsB|j}|j}||jt�|tji�|j|jt�|j	t
j�dS)N)r
�assertEqual�pathr�pyclbrZ_modules�assertIsInstance�noder	ZassertIsNotNonerZ	file_open)�selfr
�eqrrr�	test_init!szModuleBrowserTest.test_initcCs6|j}|jtjjt�|jj��|j|jj	�d�dS)NzModule Browser)
r
�assertIn�osr�basenamer�top�titlerZiconname)rr
rrr�
test_settitle)szModuleBrowserTest.test_settitlecCs |j}|j�}|j|tj�dS)N)r
Zrootnoderr�ModuleBrowserTreeItem)rr
Zrnrrr�
test_rootnode.szModuleBrowserTest.test_rootnodecCsR|j}t�|j_t�|j_|j�|j|jjj�|j|jjj�|j`|j`dS)N)r
rr rrr�
assertTrueZcalled)rr
rrr�
test_close3s

zModuleBrowserTest.test_closeN)
�__name__�
__module__�__qualname__�classmethodrrrr"r$r&rrrrr
sr
�test�test.py�f0��f1��f2��c1��C0�base��F1��C1���C2��F3�)r-r5c@seZdZdd�Zdd�ZdS)�TransformChildrenTestcCs�|j}tj}t|td��}||ttg�||djd�||djd�t|td��}||djd�t|td��}||g�dS)Nr+rr-r.zC0(base)zdifferent name)rr�transform_children�list�mock_pyclbr_treer-r5�name)rr�	transform�tclrrr�test_transform_module_childrenUsz4TransformChildrenTest.test_transform_module_childrencCs�|j}tj}t|tj��}||ttg�||djd�||djd�t|tj��}||djd�|t|t	j��t
tg�dS)Nrr8r.zC1())rrrBrCr5�childrenr8r:rEr-r/r3)rrrFrGrrr�test_transform_node_childrendsz2TransformChildrenTest.test_transform_node_childrenN)r'r(r)rHrJrrrrrASsrAc@sZeZdZedd��Zdd�Zdd�Zdd�Zd	d
�Zdd�Z	d
d�Z
ejd�dd��Z
dS)�ModuleBrowserTreeItemTestcCstjt�|_dS)N)rr#�fname�mbt)rrrrrtsz$ModuleBrowserTreeItemTest.setUpClasscCs|j|jjt�dS)N)rrM�filerL)rrrrrxsz#ModuleBrowserTreeItemTest.test_initcCs|j|jj�t�dS)N)rrM�GetTextrL)rrrr�test_gettext{sz&ModuleBrowserTreeItemTest.test_gettextcCs|j|jj�d�dS)N�python)rrM�GetIconName)rrrr�test_geticonname~sz*ModuleBrowserTreeItemTest.test_geticonnamecCs|j|jj��dS)N)r%rM�IsExpandable)rrrr�test_isexpandable�sz+ModuleBrowserTreeItemTest.test_isexpandablecCs\tjj}tj}ttd�tj_tttgd�t_z|j|j	j
�ttg�Wd|tj_|t_XdS)N)�result)rrZ
readmodule_exrBrrDr-r5rrM�listchildren)rZsave_rexZsave_tcrrr�test_listchildren�sz+ModuleBrowserTreeItemTest.test_listchildrencCsb|j}tttgd�|_|j�\}}|`|j|tj�|j|tj�|j	|j
d�|j	|j
d�dS)N)rVr-zC0(base))rMrr-r5rW�
GetSubListrr�ChildBrowserTreeItemrrE)rrMZsub0Zsub1rrr�test_getsublist�sz)ModuleBrowserTreeItemTest.test_getsublistzidlelib.browser.file_opencCsh|j}tjddd��|j�|j�WdQRXtjddd�� |j�|j�|jt�WdQRXdS)Nzos.path.existsF)�return_valueT)rMr�patch�
OnDoubleClickZassert_not_called�
assert_calledZcalled_withrL)r�fopenrMrrr�test_ondoubleclick�sz,ModuleBrowserTreeItemTest.test_ondoubleclickN)r'r(r)r*rrrPrSrUrXr[rr]rarrrrrKrs
rKc@s^eZdZedd��Zedd��Zdd�Zdd�Zd	d
�Zdd�Z	d
d�Z
ejd�dd��Z
dS)�ChildBrowserTreeItemTestcCs(tj}|t�|_|t�|_|t�|_dS)N)rrZr/�cbt_f1r:�cbt_C1r8�cbt_F1)r�CBTrrrr�s

z#ChildBrowserTreeItemTest.setUpClasscCs|`|`|`dS)N)rdrcre)rrrrr�sz&ChildBrowserTreeItemTest.tearDownClasscCsB|j}||jjd�|j|jj�||jjd�|j|jj�dS)NzC1()r/)rrdrE�assertFalseZ
isfunctionrcr%)rrrrrr�s
z"ChildBrowserTreeItemTest.test_initcCs(|j|jj�d�|j|jj�d�dS)Nz
class C1()zdef f1(...))rrdrOrc)rrrrrP�sz%ChildBrowserTreeItemTest.test_gettextcCs(|j|jj�d�|j|jj�d�dS)N�folderrQ)rrdrRrc)rrrrrS�sz)ChildBrowserTreeItemTest.test_geticonnamecCs4|j|jj��|j|jj��|j|jj��dS)N)r%rdrTrcrgre)rrrrrU�sz*ChildBrowserTreeItemTest.test_isexpandablecCsX|j}tj}|jj�}|j|d|�|t|�d�||djd�||jj�g�dS)Nrr.r1)	rrrZrcrYr�lenrEre)rrrfZ	f1sublistrrrr[�s
z(ChildBrowserTreeItemTest.test_getsublistzidlelib.browser.file_opencCs>tj�}|j_|jj�|j�|j�|j|jjj	�dS)N)
rZMockr\Zgotolinerer^r_Zassert_called_with�obj�lineno)rr`Zgotorrrra�s

z+ChildBrowserTreeItemTest.test_ondoubleclickN)r'r(r)r*rrrrPrSrUr[rr]rarrrrrb�srbc@seZdZdZdd�ZdS)�NestedChildrenTestzFTest that all the nodes in a nested tree are added to the BrowserTree.c	Cs�t�}g}ddddddddd	g	}tj}|j|t�|t�f�xd|r�|j�}|j�}|j|�|j|j	|j
��|j|j�d�|j|j
�|gk�|j|j	�q>W|j||�dS)
Nr-zC0(base)r/r3r8zC1()r1r=r?rQrh)rQrh)rrrZ�extendr-r5�popleftrYrrErOrRZassertIsrT�appendr)rZqueueZactual_namesZexpected_namesrf�cbZsublistrrr�test_nested�s"
zNestedChildrenTest.test_nestedN)r'r(r)�__doc__rqrrrrrl�srl�__main__)�	verbosity)r+r,).rrZidlelibrZtest.supportrZunittestrZidlelib.idle_test.mock_idler�collectionsrZos.pathrrrZtkinterrZidlelib.treer	ZTestCaser
r
�modulerLZFunctionr-Z_nest_functionr/r1Z_nest_classr3ZClassr5r8r:r=r?rDrBrIrArKrbrlr'�mainrrrr�<module>s>-
56


Filemanager

Name Type Size Permission Actions
__init__.cpython-36.opt-1.pyc File 850 B 0644
__init__.cpython-36.opt-2.pyc File 463 B 0644
__init__.cpython-36.pyc File 850 B 0644
htest.cpython-36.opt-1.pyc File 11 KB 0644
htest.cpython-36.opt-2.pyc File 8.74 KB 0644
htest.cpython-36.pyc File 11 KB 0644
mock_idle.cpython-36.opt-1.pyc File 2.53 KB 0644
mock_idle.cpython-36.opt-2.pyc File 1.66 KB 0644
mock_idle.cpython-36.pyc File 2.53 KB 0644
mock_tk.cpython-36.opt-1.pyc File 10.54 KB 0644
mock_tk.cpython-36.opt-2.pyc File 5.72 KB 0644
mock_tk.cpython-36.pyc File 10.54 KB 0644
template.cpython-36.opt-1.pyc File 1.02 KB 0644
template.cpython-36.opt-2.pyc File 994 B 0644
template.cpython-36.pyc File 1.02 KB 0644
test_autocomplete.cpython-36.opt-1.pyc File 4.51 KB 0644
test_autocomplete.cpython-36.opt-2.pyc File 4.44 KB 0644
test_autocomplete.cpython-36.pyc File 4.51 KB 0644
test_autocomplete_w.cpython-36.opt-1.pyc File 1.26 KB 0644
test_autocomplete_w.cpython-36.opt-2.pyc File 1.19 KB 0644
test_autocomplete_w.cpython-36.pyc File 1.26 KB 0644
test_autoexpand.cpython-36.opt-1.pyc File 3.82 KB 0644
test_autoexpand.cpython-36.opt-2.pyc File 3.75 KB 0644
test_autoexpand.cpython-36.pyc File 3.82 KB 0644
test_browser.cpython-36.opt-1.pyc File 8.66 KB 0644
test_browser.cpython-36.opt-2.pyc File 8.52 KB 0644
test_browser.cpython-36.pyc File 8.66 KB 0644
test_calltip.cpython-36.opt-1.pyc File 11.14 KB 0644
test_calltip.cpython-36.opt-2.pyc File 10.97 KB 0644
test_calltip.cpython-36.pyc File 11.21 KB 0644
test_calltip_w.cpython-36.opt-1.pyc File 1.22 KB 0644
test_calltip_w.cpython-36.opt-2.pyc File 1.15 KB 0644
test_calltip_w.cpython-36.pyc File 1.22 KB 0644
test_codecontext.cpython-36.opt-1.pyc File 10.15 KB 0644
test_codecontext.cpython-36.opt-2.pyc File 10.09 KB 0644
test_codecontext.cpython-36.pyc File 10.15 KB 0644
test_colorizer.cpython-36.opt-1.pyc File 2.17 KB 0644
test_colorizer.cpython-36.opt-2.pyc File 2.11 KB 0644
test_colorizer.cpython-36.pyc File 2.17 KB 0644
test_config.cpython-36.opt-1.pyc File 25.25 KB 0644
test_config.cpython-36.opt-2.pyc File 24.42 KB 0644
test_config.cpython-36.pyc File 25.25 KB 0644
test_config_key.cpython-36.opt-1.pyc File 4.53 KB 0644
test_config_key.cpython-36.opt-2.pyc File 4.41 KB 0644
test_config_key.cpython-36.pyc File 4.53 KB 0644
test_configdialog.cpython-36.opt-1.pyc File 36.63 KB 0644
test_configdialog.cpython-36.opt-2.pyc File 35.69 KB 0644
test_configdialog.cpython-36.pyc File 36.63 KB 0644
test_debugger.cpython-36.opt-1.pyc File 1.06 KB 0644
test_debugger.cpython-36.opt-2.pyc File 1 KB 0644
test_debugger.cpython-36.pyc File 1.06 KB 0644
test_debugger_r.cpython-36.opt-1.pyc File 697 B 0644
test_debugger_r.cpython-36.opt-2.pyc File 632 B 0644
test_debugger_r.cpython-36.pyc File 697 B 0644
test_debugobj.cpython-36.opt-1.pyc File 2.64 KB 0644
test_debugobj.cpython-36.opt-2.pyc File 2.58 KB 0644
test_debugobj.cpython-36.pyc File 2.64 KB 0644
test_debugobj_r.cpython-36.opt-1.pyc File 1.08 KB 0644
test_debugobj_r.cpython-36.opt-2.pyc File 1.02 KB 0644
test_debugobj_r.cpython-36.pyc File 1.08 KB 0644
test_delegator.cpython-36.opt-1.pyc File 1.04 KB 0644
test_delegator.cpython-36.opt-2.pyc File 1004 B 0644
test_delegator.cpython-36.pyc File 1.04 KB 0644
test_editmenu.cpython-36.opt-1.pyc File 2.75 KB 0644
test_editmenu.cpython-36.opt-2.pyc File 2.36 KB 0644
test_editmenu.cpython-36.pyc File 2.75 KB 0644
test_editor.cpython-36.opt-1.pyc File 1.96 KB 0644
test_editor.cpython-36.opt-2.pyc File 1.9 KB 0644
test_editor.cpython-36.pyc File 1.96 KB 0644
test_filelist.cpython-36.opt-1.pyc File 1.28 KB 0644
test_filelist.cpython-36.opt-2.pyc File 1.22 KB 0644
test_filelist.cpython-36.pyc File 1.28 KB 0644
test_grep.cpython-36.opt-1.pyc File 2.88 KB 0644
test_grep.cpython-36.opt-2.pyc File 2.34 KB 0644
test_grep.cpython-36.pyc File 2.88 KB 0644
test_help.cpython-36.opt-1.pyc File 1.37 KB 0644
test_help.cpython-36.opt-2.pyc File 1.25 KB 0644
test_help.cpython-36.pyc File 1.37 KB 0644
test_help_about.cpython-36.opt-1.pyc File 6.48 KB 0644
test_help_about.cpython-36.opt-2.pyc File 5.79 KB 0644
test_help_about.cpython-36.pyc File 6.48 KB 0644
test_history.cpython-36.opt-1.pyc File 6.16 KB 0644
test_history.cpython-36.opt-2.pyc File 5.98 KB 0644
test_history.cpython-36.pyc File 6.16 KB 0644
test_hyperparser.cpython-36.opt-1.pyc File 7.13 KB 0644
test_hyperparser.cpython-36.opt-2.pyc File 6.95 KB 0644
test_hyperparser.cpython-36.pyc File 7.13 KB 0644
test_iomenu.cpython-36.opt-1.pyc File 1.31 KB 0644
test_iomenu.cpython-36.opt-2.pyc File 1.26 KB 0644
test_iomenu.cpython-36.pyc File 1.31 KB 0644
test_macosx.cpython-36.opt-1.pyc File 3.76 KB 0644
test_macosx.cpython-36.opt-2.pyc File 3.36 KB 0644
test_macosx.cpython-36.pyc File 3.83 KB 0644
test_mainmenu.cpython-36.opt-1.pyc File 1.12 KB 0644
test_mainmenu.cpython-36.opt-2.pyc File 1.05 KB 0644
test_mainmenu.cpython-36.pyc File 1.12 KB 0644
test_multicall.cpython-36.opt-1.pyc File 1.48 KB 0644
test_multicall.cpython-36.opt-2.pyc File 1.42 KB 0644
test_multicall.cpython-36.pyc File 1.48 KB 0644
test_outwin.cpython-36.opt-1.pyc File 5.42 KB 0644
test_outwin.cpython-36.opt-2.pyc File 5.36 KB 0644
test_outwin.cpython-36.pyc File 5.42 KB 0644
test_paragraph.cpython-36.opt-1.pyc File 11.63 KB 0644
test_paragraph.cpython-36.opt-2.pyc File 10.83 KB 0644
test_paragraph.cpython-36.pyc File 11.63 KB 0644
test_parenmatch.cpython-36.opt-1.pyc File 3.84 KB 0644
test_parenmatch.cpython-36.opt-2.pyc File 3.44 KB 0644
test_parenmatch.cpython-36.pyc File 3.84 KB 0644
test_pathbrowser.cpython-36.opt-1.pyc File 3.21 KB 0644
test_pathbrowser.cpython-36.opt-2.pyc File 3.15 KB 0644
test_pathbrowser.cpython-36.pyc File 3.21 KB 0644
test_percolator.cpython-36.opt-1.pyc File 4.76 KB 0644
test_percolator.cpython-36.opt-2.pyc File 4.69 KB 0644
test_percolator.cpython-36.pyc File 4.76 KB 0644
test_pyparse.cpython-36.opt-1.pyc File 14.05 KB 0644
test_pyparse.cpython-36.opt-2.pyc File 13.99 KB 0644
test_pyparse.cpython-36.pyc File 14.05 KB 0644
test_pyshell.cpython-36.opt-1.pyc File 1.18 KB 0644
test_pyshell.cpython-36.opt-2.pyc File 1.12 KB 0644
test_pyshell.cpython-36.pyc File 1.18 KB 0644
test_query.cpython-36.opt-1.pyc File 14.69 KB 0644
test_query.cpython-36.opt-2.pyc File 13.9 KB 0644
test_query.cpython-36.pyc File 14.69 KB 0644
test_redirector.cpython-36.opt-1.pyc File 5 KB 0644
test_redirector.cpython-36.opt-2.pyc File 4.93 KB 0644
test_redirector.cpython-36.pyc File 5 KB 0644
test_replace.cpython-36.opt-1.pyc File 6.73 KB 0644
test_replace.cpython-36.opt-2.pyc File 6.67 KB 0644
test_replace.cpython-36.pyc File 6.73 KB 0644
test_rpc.cpython-36.opt-1.pyc File 1.61 KB 0644
test_rpc.cpython-36.opt-2.pyc File 1.55 KB 0644
test_rpc.cpython-36.pyc File 1.61 KB 0644
test_rstrip.cpython-36.opt-1.pyc File 1.46 KB 0644
test_rstrip.cpython-36.opt-2.pyc File 1.39 KB 0644
test_rstrip.cpython-36.pyc File 1.46 KB 0644
test_run.cpython-36.opt-1.pyc File 9.21 KB 0644
test_run.cpython-36.opt-2.pyc File 9.15 KB 0644
test_run.cpython-36.pyc File 9.21 KB 0644
test_runscript.cpython-36.opt-1.pyc File 1.29 KB 0644
test_runscript.cpython-36.opt-2.pyc File 1.22 KB 0644
test_runscript.cpython-36.pyc File 1.29 KB 0644
test_scrolledlist.cpython-36.opt-1.pyc File 1.05 KB 0644
test_scrolledlist.cpython-36.opt-2.pyc File 1009 B 0644
test_scrolledlist.cpython-36.pyc File 1.05 KB 0644
test_search.cpython-36.opt-1.pyc File 2.42 KB 0644
test_search.cpython-36.opt-2.pyc File 2.36 KB 0644
test_search.cpython-36.pyc File 2.42 KB 0644
test_searchbase.cpython-36.opt-1.pyc File 4.96 KB 0644
test_searchbase.cpython-36.opt-2.pyc File 4.9 KB 0644
test_searchbase.cpython-36.pyc File 4.96 KB 0644
test_searchengine.cpython-36.opt-1.pyc File 9.59 KB 0644
test_searchengine.cpython-36.opt-2.pyc File 9.53 KB 0644
test_searchengine.cpython-36.pyc File 9.59 KB 0644
test_squeezer.cpython-36.opt-1.pyc File 15.12 KB 0644
test_squeezer.cpython-36.opt-2.pyc File 13.6 KB 0644
test_squeezer.cpython-36.pyc File 15.12 KB 0644
test_stackviewer.cpython-36.opt-1.pyc File 1.5 KB 0644
test_stackviewer.cpython-36.opt-2.pyc File 1.44 KB 0644
test_stackviewer.cpython-36.pyc File 1.5 KB 0644
test_statusbar.cpython-36.opt-1.pyc File 1.52 KB 0644
test_statusbar.cpython-36.opt-2.pyc File 1.46 KB 0644
test_statusbar.cpython-36.pyc File 1.52 KB 0644
test_text.cpython-36.opt-1.pyc File 6.42 KB 0644
test_text.cpython-36.opt-2.pyc File 6.23 KB 0644
test_text.cpython-36.pyc File 6.42 KB 0644
test_textview.cpython-36.opt-1.pyc File 6.96 KB 0644
test_textview.cpython-36.opt-2.pyc File 6.65 KB 0644
test_textview.cpython-36.pyc File 6.96 KB 0644
test_tooltip.cpython-36.opt-1.pyc File 5.26 KB 0644
test_tooltip.cpython-36.opt-2.pyc File 5.25 KB 0644
test_tooltip.cpython-36.pyc File 5.26 KB 0644
test_tree.cpython-36.opt-1.pyc File 1.25 KB 0644
test_tree.cpython-36.opt-2.pyc File 1.19 KB 0644
test_tree.cpython-36.pyc File 1.25 KB 0644
test_undo.cpython-36.opt-1.pyc File 4.06 KB 0644
test_undo.cpython-36.opt-2.pyc File 3.85 KB 0644
test_undo.cpython-36.pyc File 4.06 KB 0644
test_warning.cpython-36.opt-1.pyc File 2.64 KB 0644
test_warning.cpython-36.opt-2.pyc File 2.3 KB 0644
test_warning.cpython-36.pyc File 2.64 KB 0644
test_window.cpython-36.opt-1.pyc File 1.56 KB 0644
test_window.cpython-36.opt-2.pyc File 1.5 KB 0644
test_window.cpython-36.pyc File 1.56 KB 0644
test_zoomheight.cpython-36.opt-1.pyc File 1.47 KB 0644
test_zoomheight.cpython-36.opt-2.pyc File 1.41 KB 0644
test_zoomheight.cpython-36.pyc File 1.47 KB 0644