403Webshell
Server IP : 65.1.209.187  /  Your IP : 216.73.216.144
Web Server : nginx/1.24.0
System : Linux ip-172-31-5-206 6.14.0-1015-aws #15~24.04.1-Ubuntu SMP Tue Sep 23 22:44:48 UTC 2025 x86_64
User :  ( 1001)
PHP Version : 8.3.6
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : OFF
Directory :  /lib/python3/dist-packages/twisted/trial/test/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /lib/python3/dist-packages/twisted/trial/test/__pycache__/test_plugins.cpython-312.pyc
�

oj���V�dZddlmZddlmZddlmZGd�dej�Zy)z-
Tests for L{twisted.plugins.twisted_trial}.
�)�
getPlugins)�unittest)�	IReporterc��eZdZdZd�Zdd�Zy)�PluginsTestsz-
    Tests for Trial's reporter plugins.
    c��tt�D�cgc]}|j|k(s�|��}}t|�dkDrt	d|�d|����|dScc}w)z�
        Return the Trial reporter plugin with the given long option.

        If more than one is found, raise ValueError. If none are found, raise
        IndexError.
        �z,More than one plugin found with long option z: r)rr�longOpt�len�
ValueError)�self�
longOption�plugin�pluginss    �A/usr/lib/python3/dist-packages/twisted/trial/test/test_plugins.py�getPluginsByLongOptionz#PluginsTests.getPluginsByLongOptionsd��",�I�!6�
��&�.�.�J�:V�F�
��
��w�<�!����w�(��
��q�z���
s
�A�ANc�>�|jd�}|jd|j�|jd|j�|jd|j�|jd|j�|jd|j�y)zM
        One of the reporter plugins is the subunit reporter plugin.
        �subunitzSubunit Reporterztwisted.trial.reporterN�SubunitReporter)r�assertEqual�name�moduler
�assertIdentical�shortOpt�klass)r
�
subunitPlugins  r�test_subunitPluginzPluginsTests.test_subunitPlugin%s����3�3�I�>�
����+�]�-?�-?�@����1�=�3G�3G�H�����M�$9�$9�:����T�=�#9�#9�:����*�M�,?�,?�@�)�returnN)�__name__�
__module__�__qualname__�__doc__rr�rrrrs����"	ArrN)	r#�twisted.pluginr�
twisted.trialr�twisted.trial.itrialr�SynchronousTestCaserr$rr�<module>r)s)���&�"�*�A�8�/�/�Ar

Youez - 2016 - github.com/yon3zu
LinuXploit