%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /lib/python3/dist-packages/samba/subunit/__pycache__/
Upload File :
Create Path :
Current File : //lib/python3/dist-packages/samba/subunit/__pycache__/__init__.cpython-312.pyc

�

�I�dH
��Z�dZddlZddlZdZdZdZdZd	d�ZGd�dej�Z	y)
zSubunit test protocol.�N���c�&�tt|�dfS�N)�	Exception)�descriptions �8/usr/lib/python3/dist-packages/samba/subunit/__init__.py�RemoteErrorrs���y��-�t�4�4�c�T�eZdZdZd�Zd�Zd�Zd�Zd�Zd�Z	d�Z
d	�Zd
�Zdd�Z
d
�Zy)�RemotedTestCasea�A class to represent test cases run in child processes.

    Instances of this class are used to provide the Python test API a TestCase
    that can be printed to the screen, introspected for metadata and so on.
    However, as they are a simply a memoisation of a test that was actually
    run in the past by a separate process, they cannot perform any interactive
    actions.
    c�T�	|j|jk(S#t$rYywxYw)NF)�_RemotedTestCase__description�AttributeError)�self�others  r
�__eq__zRemotedTestCase.__eq__,s0��	��%�%��)<�)<�<�<���	��	�s��	'�'c��||_y)z7Create a pseudo test case with description description.N�r)rr	s  r
�__init__zRemotedTestCase.__init__2s
��(��rc��td|z��)Nz(%s on RemotedTestCases is not permitted.)�NotImplementedError)r�labels  r
�errorzRemotedTestCase.error6s��!�"L�"'�#(�)�	)rc�&�|jd�y)N�setUp�r�rs r
rzRemotedTestCase.setUp:s���
�
�7�rc�&�|jd�y)N�tearDownrrs r
r!zRemotedTestCase.tearDown=s���
�
�:�rc��|jSrrrs r
�shortDescriptionz RemotedTestCase.shortDescription@s���!�!�!rc��|j�Srrrs r
�idzRemotedTestCase.idCs���)�)�+rc�B�|j�d|j��d�S)Nz (�))r�	_strclassrs r
�__str__zRemotedTestCase.__str__Fs�� �.�.����0@�A�Arc�D�d|j��d|j�d�S)N�<z description='z'>)r(rrs r
�__repr__zRemotedTestCase.__repr__Is����� �$�"4�"4�6�	6rNc��|�|j�}|j|�|j|td��|j	|�y)NzCannot run RemotedTestCases.
)�defaultTestResult�	startTest�addErrorr�stopTest)r�results  r
�runzRemotedTestCase.runMsC���>��+�+�-�F����������k�*J�K�L�����rc�P�|j}|j�d|j��S)N�.)�	__class__�
__module__�__name__)r�clss  r
r(zRemotedTestCase._strclassTs���n�n���.�.�#�,�,�7�7rr)r8r7�__qualname__�__doc__rrrrr!r#r%r)r,r3r(�rr
rr"s?����)�)���"�,�B�6��8rr)�)
r;�samba�unittest�PROGRESS_SET�PROGRESS_CUR�
PROGRESS_PUSH�PROGRESS_POPr�TestCaserr<rr
�<module>rEs=��$��������
���5�48�h�'�'�48r

Zerion Mini Shell 1.0