AlkantarClanX12

Your IP : 3.17.79.79


Current Path : /opt/cloudlinux/venv/lib/python3.11/site-packages/tap/tests/__pycache__/
Upload File :
Current File : //opt/cloudlinux/venv/lib/python3.11/site-packages/tap/tests/__pycache__/factory.cpython-311.pyc

�

�܋f/��^�ddlZddlZddlmZddlmZddlmZmZm	Z	Gd�de
��ZdS)�N)�TextTestResult)�	Directive)�Bail�Plan�Resultc�>�eZdZdZdd�Zdd�Zd
d�Zdd�Zd	�Zd
�Z	dS)�Factoryz,A factory to produce commonly needed objects�c�@�tdddt|����S)NT��This is a description.�rr��self�directive_texts  �b/builddir/build/BUILD/cloudlinux-venv-1.0.6/venv/lib/python3.11/site-packages/tap/tests/factory.py�make_okzFactory.make_oks���d�A�7��>�9R�9R�S�S�S�c�@�tdddt|����S)NFrr
rrs  r�make_not_okzFactory.make_not_oks���e�Q� 8�)�N�:S�:S�T�T�Tr�Because it is busted.c� �t|��S�N)r)r�reasons  r�	make_bailzFactory.make_bails���F�|�|�r�cc�<�t|t|����Sr)rr)r�expected_testsrs   r�	make_planzFactory.make_plans���N�I�n�$=�$=�>�>�>rc�N�tjd���}t|dd��S)N�w)�moder)�tempfile�
TemporaryFiler)r�streams  r�make_test_resultzFactory.make_test_results'���'�S�1�1�1���f�d�A�.�.�.rc�h�	td���#t$rtj��cYSwxYw)z[Make a traceback tuple.

        Doing this intentionally is not straight forward.
        �boom)�
ValueError�sys�exc_info)rs r�make_exczFactory.make_excsB��
	"��V�$�$�$���	"�	"�	"��<�>�>�!�!�!�	"���s��1�1N)r
)r)rr
)
�__name__�
__module__�__qualname__�__doc__rrrrr&r,�rrr	r		s�������6�6�T�T�T�T�U�U�U�U�����?�?�?�?�/�/�/�"�"�"�"�"rr	)r*r#�unittest.runnerr�
tap.directiver�tap.linerrr�objectr	r1rr�<module>r6s���
�
�
�
�����*�*�*�*�*�*�#�#�#�#�#�#�'�'�'�'�'�'�'�'�'�'�"�"�"�"�"�f�"�"�"�"�"r