- GRAYBYTE UNDETECTABLE CODES -

403Webshell
Server IP : 184.154.167.98  /  Your IP : 18.118.144.239
Web Server : Apache
System : Linux pink.dnsnetservice.com 4.18.0-553.22.1.lve.1.el8.x86_64 #1 SMP Tue Oct 8 15:52:54 UTC 2024 x86_64
User : puertode ( 1767)
PHP Version : 8.2.27
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /lib/python3.6/site-packages/tracer/tests/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /lib/python3.6/site-packages/tracer/tests/__pycache__/test_hooks.cpython-36.pyc
3

"e�@s�ddlTddlmZmZdaed�dd��Zedd	g�d
d��Zed�d
d��Zed�dd��ZGdd�de	j
�Zedkr�e	j
�dS)�)�*�)�
HooksObserver�matchN�app1cCsdadS)N�dummy)�called�r	r	� /usr/lib/python3.6/test_hooks.py�
hook_dummysr�app2�app3cCsdadS)N�
dummy_list)rr	r	r	r
�hook_dummy_listsr�foocCstjd�dS)Nr)r�appendr	r	r	r
�hook_dummy_append1sr�barcCstjd�dS)Nr)rrr	r	r	r
�hook_dummy_append2src@s,eZdZdd�Zdd�Zdd�Zdd�Zd	S)
�	TestHookscCst�|_dadS)N)r�observerr)�selfr	r	r
�setUpszTestHooks.setUpcCsF|jd�|jtd�|jd�|jtd�|jd�|jtd�dS)Nrrrrr
)rZassertEqualr)rr	r	r
�	test_hook"s


zTestHooks.test_hookcCs,ga|jd�|jd�|jtddg�dS)Nrr)rrZassertListEqual)rr	r	r
�test_hooks_list,s

zTestHooks.test_hooks_listcCs|jd�|jt�dS)NZ	undefined)rZassertIsNoner)rr	r	r
�test_undefined_hook3s
zTestHooks.test_undefined_hookN)�__name__�
__module__�__qualname__rrrrr	r	r	r
rs
r�__main__)Z__meta__Ztracer.hooksrrrrrrrZunittestZTestCaserr�mainr	r	r	r
�<module>s

Youez - 2016 - github.com/yon3zu
LinuXploit