Ë
    ojÃ
  ã                   ó¾   — d Z ddlmZ ddlmZ  edd«       G d„ de«      «       Z edd«       G d	„ d
e«      «       Z G d„ de«      Z G d„ de«      Z G d„ de«      Z	y)z!
Tests for L{twisted.trial.util}
é    )ÚskipIf)ÚTestCaseTz.Skip all tests when @skipIf is used on a classc                   ó    — e Zd ZdZdd„Zdd„Zy)ÚSkipDecoratorUsedOnClasszZ
    All tests should be skipped because @skipIf decorator is used on
    this class.
    Nc                 ó   — t        d«      ‚©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                 ó   — t        d«      ‚r   r	   r   s    r   Útest_shouldNeverRun_2z.SkipDecoratorUsedOnClass.test_shouldNeverRun_2   r   r   ©ÚreturnN©Ú__name__Ú
__module__Ú__qualname__Ú__doc__r   r   © r   r   r   r      ó   „ ñó
AôAr   r   Ú c                   ó    — e Zd ZdZdd„Zdd„Zy)Ú'SkipDecoratorUsedOnClassWithEmptyReasonz€
    All tests should be skipped because @skipIf decorator is used on
    this class, even if the reason is an empty string
    Nc                 ó   — t        d«      ‚r   r	   r   s    r   r   z=SkipDecoratorUsedOnClassWithEmptyReason.test_shouldNeverRun_1#   r   r   c                 ó   — t        d«      ‚r   r	   r   s    r   r   z=SkipDecoratorUsedOnClassWithEmptyReason.test_shouldNeverRun_2&   r   r   r   r   r   r   r   r   r      r   r   r   c                   ó˜   — e Zd ZdZ edd«      dd„«       Z edd«      dd„«       Zdd„Z ed	d
«      dd„«       Z ed	d«      dd„«       Z	y)ÚSkipDecoratorUsedOnMethodsúI
    Only methods where @skipIf decorator is used should be skipped.
    Tz"skipIf decorator used so skip testNc                 ó   — t        d«      ‚r   r	   r   s    r   Útest_shouldNeverRunz.SkipDecoratorUsedOnMethods.test_shouldNeverRun/   ó   € äÐ?Ó@Ð@r   r   c                 ó   — t        d«      ‚r   r	   r   s    r   Ú"test_shouldNeverRunWithEmptyReasonz=SkipDecoratorUsedOnMethods.test_shouldNeverRunWithEmptyReason3   r&   r   c                 ó(   — | j                  dd«       y ©NTz"Test should run and not be skipped©Ú
assertTruer   s    r   Útest_shouldShouldRunz/SkipDecoratorUsedOnMethods.test_shouldShouldRun7   ó   € Ø�‰˜ÐBÕCr   Fzshould not skipc                 ó(   — | j                  dd«       y r*   r+   r   s    r   Ú#test_shouldShouldRunWithSkipIfFalsez>SkipDecoratorUsedOnMethods.test_shouldShouldRunWithSkipIfFalse:   ó   € à�‰˜ÐBÕCr   c                 ó(   — | j                  dd«       y r*   r+   r   s    r   Ú.test_shouldShouldRunWithSkipIfFalseEmptyReasonzISkipDecoratorUsedOnMethods.test_shouldShouldRunWithSkipIfFalseEmptyReason>   r1   r   r   )
r   r   r   r   r   r%   r(   r-   r0   r3   r   r   r   r"   r"   *   sƒ   „ ññ ˆDÐ6Ó7òAó 8ðAñ ˆD�"ÓòAó ðAóDñ ˆEÐ$Ó%òDó &ðDñ ˆE�2ÓòDó ñDr   r"   c                   ó$   — e Zd ZdZdZdd„Zdd„Zy)Ú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                 ó   — t        d«      ‚r   r	   r   s    r   Útest_onezSkipAttributeOnClass.test_oneK   r   r   c                 ó   — t        d«      ‚r   r	   r   s    r   Útest_twozSkipAttributeOnClass.test_twoN   r   r   r   )r   r   r   r   Úskipr7   r9   r   r   r   r5   r5   C   s   „ ñð
 C€DóAôAr   r5   c                   ó.   — e Zd ZdZdd„Zde_        dd„Zy)ÚSkipAttributeOnMethodsr#   Nc                 ó   — t        d«      ‚)NzShould never reach herer	   r   s    r   r7   zSkipAttributeOnMethods.test_oneW   s   € ÜÐ1Ó2Ð2r   z'skip test, skip attribute set on methodc                 ó(   — | j                  dd«       y r*   r+   r   s    r   Útest_shouldNotSkipz)SkipAttributeOnMethods.test_shouldNotSkip\   r.   r   r   )r   r   r   r   r7   r:   r?   r   r   r   r<   r<   R   s   „ ñó3ð >€H„MôDr   r<   N)
r   Úunittestr   Útwisted.trial.unittestr   r   r   r"   r5   r<   r   r   r   ú<module>rB      sˆ   ðñ
õ å +ñ ˆÐ>Ó?ô
A˜xó 
Aó @ð
Añ ˆˆbÓô
A¨hó 
Aó ð
AôD ô Dô2A˜8ô AôD˜Xõ Dr   