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_doctest.cpython-310.pyc
o

�b��@s>dZddlmZmZmZmZddlmZGdd�dej�Z	dS)z!
Test Twisted's doctest support.
�)�itrial�reporter�runner�unittest)�mockdoctestc@s:eZdZdZdd�Zdd�Zdd�Zdd	d
�Zdd�Zd
S)�RunnersTestsz.
    Tests for Twisted's doctest support.
    cCs<t��}|�t�}d}|jD]
}|�|t�|����qdS)zq
        Check that the id() of the doctests' case object contains the FQPN of
        the actual tests.
        z&twisted.trial.test.mockdoctest.CounterN)	r�
TestLoader�loadDoctestsr�_tests�assertInr�	ITestCase�id)�self�loader�suite�idPrefix�test�r�A/usr/lib/python3/dist-packages/twisted/trial/test/test_doctest.py�test_ids

�zRunnersTests.test_idcCs&t��}|�t�}|�d|���dS)zP
        L{loadDoctests} loads all of the doctests in the given module.
        �N)rrr	r�assertEqual�countTestCases)rrrrrr�test_basicTrialIntegrations
z'RunnersTests.test_basicTrialIntegrationcCs6t��}|�|�|�d|j�|�dt|j��dS)z4
        Run C{suite} and check the result.
        ��N)r�
TestResult�runr�	successes�len�failures)rr�resultrrr�_testRun%s
zRunnersTests._testRun�cCst���t�}|�|�dS)zL
        Trial can correctly run doctests with its xUnit test APIs.
        N�rrr	rr")r�countrrrr�test_expectedResults.sz!RunnersTests.test_expectedResultscCs&t���t�}|�|�|�|�dS)z9
        Doctests should be runnable repeatably.
        Nr$)rrrrr�test_repeatable5s
zRunnersTests.test_repeatableN)r#)	�__name__�
__module__�__qualname__�__doc__rrr"r&r'rrrrr
s
	rN)
r+�
twisted.trialrrrr�twisted.trial.testr�SynchronousTestCaserrrrr�<module>s

Anon7 - 2022
AnonSec Team