MOON
Server: Apache
System: Linux server30c.hostingraja.org 3.10.0-962.3.2.lve1.5.63.el7.x86_64 #1 SMP Fri Oct 8 12:03:35 UTC 2021 x86_64
User: jibhires (1887)
PHP: 8.1.30
Disabled: show_source, system, shell_exec, passthru, exec, popen, proc_open, allow_url_fopen, symlink, escapeshellcmd, pcntl_exec
Upload Files
File: //opt/cloudlinux/venv/lib64/python3.11/site-packages/tap/__pycache__/adapter.cpython-311.opt-1.pyc
�

݋f��"�Gd�de��ZdS)c�4�eZdZdZeZd�Zd�Zd�Zd�Z	d�Z
dS)�Adapterz�The adapter processes a TAP test line and updates a unittest result.

    It is an alternative to TestCase to collect TAP results.
    c�"�||_||_dS)N)�	_filename�_line)�self�filename�lines   �@/opt/cloudlinux/venv/lib/python3.11/site-packages/tap/adapter.py�__init__zAdapter.__init__	s��!�����
�
�
�c��|jjS)z/Get the short description for verbeose results.)r�description�rs r
�shortDescriptionzAdapter.shortDescription
s
���z�%�%rc��|�|��|jjr'|�d|jjj��dS|jjrN|jjr|�|��n*|�	|tt��df��dS|jjr|�|��dS|�|��dS)z�Update test result with the lines in the TAP file.

        Provide the interface that TestCase provides to a suite or runner.
        N)
�	startTestr�skip�addSkip�	directive�reason�todo�ok�addUnexpectedSuccess�addExpectedFailure�	Exception�
addSuccess�
addFailure)r�results  r
�__call__zAdapter.__call__s���
	��������:�?�	��N�N�4���!5�!<�=�=�=��F��:�?�	��z�}�
P��+�+�D�1�1�1�1��)�)�$��I�K�K��0N�O�O�O��F��:�=�	$����d�#�#�#�#�#��O�O�F�#�#�#�#�#rc��|�|tt��df��|jd\}}|df|jd<dS)zAdd a failure to the result.N����)rr�failures)rr�test�errs    r
rzAdapter.addFailure(sK�����$��I�K�K�� >�?�?�?��O�B�'�	��c�#�R�j������rc�8�d�|j���S)Nz<file={filename}>)r)�formatrrs r
�__repr__zAdapter.__repr__0s��"�)�)�4�>�)�B�B�BrN)�__name__�
__module__�__qualname__�__doc__�AssertionError�failureExceptionrrrrr(�rr
rrsv��������
&�����&�&�&�$�$�$�.)�)�)�C�C�C�C�CrrN)�objectrr/rr
�<module>r1sC��0C�0C�0C�0C�0C�f�0C�0C�0C�0C�0Cr