403Webshell
Server IP : 195.114.193.97  /  Your IP : 216.73.216.135
Web Server : LiteSpeed
System : Linux host 5.15.0-126-generic #136-Ubuntu SMP Wed Nov 6 10:38:22 UTC 2024 x86_64
User : joker4274 ( 1074)
PHP Version : 8.1.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /lib/python3/dist-packages/lazr/restfulclient/tests/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /lib/python3/dist-packages/lazr/restfulclient/tests/__pycache__/test_docs.cpython-310.pyc
o

�T�Z��@s�dZeZdgZddlZddlZddlZddlmZm	Z	m
Z
mZddlZddl
mZmZejejBejBZdd�Zdd	�Zd
d
d�Zdd�ZdS)zTest harness for doctests.�
load_tests�N)�resource_filename�resource_exists�resource_listdir�cleanup_resources)�install�	uninstallcCs&ddlm}t�t�dd|j�dS)Nr��	WSGILayerz
cookbooks.dev�P)�0lazr.restful.example.base.tests.test_integrationr
r�wsgi_intercept�add_wsgi_intercept�make_application)�testr
�r�D/usr/lib/python3/dist-packages/lazr/restfulclient/tests/test_docs.py�setUp,s
�rcCs6ddlm}ddlm}t�||�}i|_d|_dS)Nr)�IFileManager)�
getUtility)�$lazr.restful.example.base.interfacesr�zope.componentrr�files�counter)rrr�file_managerrrr�tearDown3s
rc	Cs\g}tdd�r,tdd�D]}|dur|�|�rq|�|�r+|�tj�tdd|���q|S)z(Find doctests matching a certain suffix.zlazr.restfulclient�docsNzdocs/%s)rr�endswith�append�os�path�abspathr)�suffix�
ignore_suffix�
doctest_files�namerrr�
find_doctests<s

����r&cCsdddlm}t�t�tjtddd�dtt	t
d��}||_|�|�|�tjtd�dtd���|S)	zLoad all the doctests.rr	z.rstz.standalone.rst)r#F)�module_relative�optionflagsrr)r'r()
rr
�atexit�registerr�doctest�DocFileSuiter&�
DOCTEST_FLAGSrr�layer�addTest)�loader�tests�patternr
�
restful_suiterrrrLs

�

�)N)�__doc__�type�
__metaclass__�__all__r)r+r�
pkg_resourcesrrrrr
�!wsgi_intercept.httplib2_interceptrr�ELLIPSIS�NORMALIZE_WHITESPACE�REPORT_NDIFFr-rrr&rrrrr�<module>s(����
	

Youez - 2016 - github.com/yon3zu
LinuXploit