https://t.me/RX1948
Server : Apache
System : Linux iad1-shared-b8-43 6.6.49-grsec-jammy+ #10 SMP Thu Sep 12 23:23:08 UTC 2024 x86_64
User : dh_edsupp ( 6597262)
PHP Version : 8.2.26
Disable Function : NONE
Directory :  /lib/python3/dist-packages/lazr/restfulclient/tests/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

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(����
	

https://t.me/RX1948 - 2025