%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /lib/python3/dist-packages/twisted/trial/test/__pycache__/
Upload File :
Create Path :
Current File : //lib/python3/dist-packages/twisted/trial/test/__pycache__/test_skip.cpython-312.pyc

�

Ϫ�f�
���dZddlmZddlmZedd�Gd�de��Zedd�Gd	�d
e��ZGd�de�ZGd
�de�ZGd�de�Z	y)z!
Tests for L{twisted.trial.util}
�)�skipIf)�TestCaseTz.Skip all tests when @skipIf is used on a classc� �eZdZdZdd�Zdd�Zy)�SkipDecoratorUsedOnClasszZ
    All tests should be skipped because @skipIf decorator is used on
    this class.
    Nc��td���Nz%Test should skip and never reach here��	Exception��selfs �>/usr/lib/python3/dist-packages/twisted/trial/test/test_skip.py�test_shouldNeverRun_1z.SkipDecoratorUsedOnClass.test_shouldNeverRun_1����?�@�@�c��td��rr	rs r
�test_shouldNeverRun_2z.SkipDecoratorUsedOnClass.test_shouldNeverRun_2rr��returnN��__name__�
__module__�__qualname__�__doc__rr�rr
rr����
A�Arr�c� �eZdZdZdd�Zdd�Zy)�'SkipDecoratorUsedOnClassWithEmptyReasonz�
    All tests should be skipped because @skipIf decorator is used on
    this class, even if the reason is an empty string
    Nc��td��rr	rs r
rz=SkipDecoratorUsedOnClassWithEmptyReason.test_shouldNeverRun_1#rrc��td��rr	rs r
rz=SkipDecoratorUsedOnClassWithEmptyReason.test_shouldNeverRun_2&rrrrrrr
rrrrrc��eZdZdZedd�d
d��Zedd�d
d��Zd
d�Zed	d
�d
d��Zed	d�d
d��Z	y)�SkipDecoratorUsedOnMethods�I
    Only methods where @skipIf decorator is used should be skipped.
    Tz"skipIf decorator used so skip testNc��td��rr	rs r
�test_shouldNeverRunz.SkipDecoratorUsedOnMethods.test_shouldNeverRun/����?�@�@rrc��td��rr	rs r
�"test_shouldNeverRunWithEmptyReasonz=SkipDecoratorUsedOnMethods.test_shouldNeverRunWithEmptyReason3r&rc�(�|jdd�y�NTz"Test should run and not be skipped��
assertTruers r
�test_shouldShouldRunz/SkipDecoratorUsedOnMethods.test_shouldShouldRun7�������B�CrFzshould not skipc�(�|jdd�yr*r+rs r
�#test_shouldShouldRunWithSkipIfFalsez>SkipDecoratorUsedOnMethods.test_shouldShouldRunWithSkipIfFalse:�������B�Crc�(�|jdd�yr*r+rs r
�.test_shouldShouldRunWithSkipIfFalseEmptyReasonzISkipDecoratorUsedOnMethods.test_shouldShouldRunWithSkipIfFalseEmptyReason>r1rr)
rrrrrr%r(r-r0r3rrr
r"r"*s�����D�6�7�A�8�A��D�"��A��A�D��E�$�%�D�&�D��E�2��D��Drr"c�$�eZdZdZdZdd�Zdd�Zy)�SkipAttributeOnClasszV
    All tests should be skipped because skip attribute is set on
    this class.
    z5'skip' attribute set on this class, so skip all testsNc��td��rr	rs r
�test_onezSkipAttributeOnClass.test_oneKrrc��td��rr	rs r
�test_twozSkipAttributeOnClass.test_twoNrrr)rrrr�skipr7r9rrr
r5r5Cs���
C�D�A�Arr5c�.�eZdZdZdd�Zde_dd�Zy)�SkipAttributeOnMethodsr#Nc��td��)NzShould never reach herer	rs r
r7zSkipAttributeOnMethods.test_oneWs���1�2�2rz'skip test, skip attribute set on methodc�(�|jdd�yr*r+rs r
�test_shouldNotSkipz)SkipAttributeOnMethods.test_shouldNotSkip\r.rr)rrrrr7r:r?rrr
r<r<Rs���3�>�H�M�Drr<N)
r�unittestr�twisted.trial.unittestrrrr"r5r<rrr
�<module>rBs���
��+���>�?�
A�x�
A�@�
A���b��
A�h�
A��
A�D��D�2A�8�A�D�X�Dr

Zerion Mini Shell 1.0