AnonSec Shell
Server IP : 209.38.156.173  /  Your IP : 216.73.216.122   [ Reverse IP ]
Web Server : Apache/2.4.52 (Ubuntu)
System : Linux lakekumayuhotel 5.15.0-136-generic #147-Ubuntu SMP Sat Mar 15 15:53:30 UTC 2025 x86_64
User : root ( 0)
PHP Version : 8.1.2-1ubuntu2.22
Disable Function : NONE
Domains : 2 Domains
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /usr/lib/python3/dist-packages/twisted/trial/test/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     [ BACKUP SHELL ]     [ JUMPING ]     [ MASS DEFACE ]     [ SCAN ROOT ]     [ SYMLINK ]     

Current File : /usr/lib/python3/dist-packages/twisted/trial/test/__pycache__/test_skip.cpython-310.pyc
o

�b[
�@s�dZddlmZddlmZedd�Gdd�de��Zedd�Gd	d
�d
e��ZGdd�de�ZGd
d�de�ZGdd�de�Z	dS)z!
Tests for L{twisted.trial.util}
�)�skipIf)�TestCaseTz.Skip all tests when @skipIf is used on a classc@� eZdZdZdd�Zdd�ZdS)�SkipDecoratorUsedOnClasszZ
    All tests should be skipped because @skipIf decorator is used on
    this class.
    cC�td���Nz%Test should skip and never reach here��	Exception��self�r�>/usr/lib/python3/dist-packages/twisted/trial/test/test_skip.py�test_shouldNeverRun_1�z.SkipDecoratorUsedOnClass.test_shouldNeverRun_1cCrrrr
rrr
�test_shouldNeverRun_2rz.SkipDecoratorUsedOnClass.test_shouldNeverRun_2N��__name__�
__module__�__qualname__�__doc__rrrrrr
r�r�c@r)�'SkipDecoratorUsedOnClassWithEmptyReasonz�
    All tests should be skipped because @skipIf decorator is used on
    this class, even if the reason is an empty string
    cCrrrr
rrr
r#rz=SkipDecoratorUsedOnClassWithEmptyReason.test_shouldNeverRun_1cCrrrr
rrr
r&rz=SkipDecoratorUsedOnClassWithEmptyReason.test_shouldNeverRun_2Nrrrrr
rrrc@s`eZdZdZedd�dd��Zedd�dd��Zd	d
�Zedd�d
d��Zedd�dd��Z	dS)�SkipDecoratorUsedOnMethods�I
    Only methods where @skipIf decorator is used should be skipped.
    Tz"skipIf decorator used so skip testcCrrrr
rrr
�test_shouldNeverRun/�z.SkipDecoratorUsedOnMethods.test_shouldNeverRunrcCrrrr
rrr
�"test_shouldNeverRunWithEmptyReason3rz=SkipDecoratorUsedOnMethods.test_shouldNeverRunWithEmptyReasoncC�|�dd�dS�NTz"Test should run and not be skipped��
assertTruer
rrr
�test_shouldShouldRun7�z/SkipDecoratorUsedOnMethods.test_shouldShouldRunFzshould not skipcCrrr r
rrr
�#test_shouldShouldRunWithSkipIfFalse:�z>SkipDecoratorUsedOnMethods.test_shouldShouldRunWithSkipIfFalsecCrrr r
rrr
�.test_shouldShouldRunWithSkipIfFalseEmptyReason>r%zISkipDecoratorUsedOnMethods.test_shouldShouldRunWithSkipIfFalseEmptyReasonN)
rrrrrrrr"r$r&rrrr
r*s


rc@s$eZdZdZdZdd�Zdd�ZdS)�SkipAttributeOnClasszV
    All tests should be skipped because skip attribute is set on
    this class.
    z5'skip' attribute set on this class, so skip all testscCrrrr
rrr
�test_oneKrzSkipAttributeOnClass.test_onecCrrrr
rrr
�test_twoNrzSkipAttributeOnClass.test_twoN)rrrr�skipr(r)rrrr
r'Cs
r'c@s&eZdZdZdd�Zde_dd�ZdS)�SkipAttributeOnMethodsrcCr)NzShould never reach hererr
rrr
r(WrzSkipAttributeOnMethods.test_onez'skip test, skip attribute set on methodcCrrr r
rrr
�test_shouldNotSkip\r#z)SkipAttributeOnMethods.test_shouldNotSkipN)rrrrr(r*r,rrrr
r+Rs
r+N)
r�unittestr�twisted.trial.unittestrrrrr'r+rrrr
�<module>s



Anon7 - 2022
AnonSec Team