Ë
    oj¼  ã                   óV   — d Z ddlmZ ddlmZ ddlmZ  G d„ dej                  «      Zy)z-
Tests for L{twisted.plugins.twisted_trial}.
é    )Ú
getPlugins)Úunittest)Ú	IReporterc                   ó   — e Zd ZdZd„ Zdd„Zy)ÚPluginsTestsz-
    Tests for Trial's reporter plugins.
    c                 ó¬   — t        t        «      D �cg c]  }|j                  |k(  sŒ|‘Œ }}t        |«      dkD  rt	        d|›d|›�«      ‚|d   S c c}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   )r   r   ÚlongOptÚlenÚ
ValueError)ÚselfÚ
longOptionÚpluginÚpluginss       úA/usr/lib/python3/dist-packages/twisted/trial/test/test_plugins.pyÚgetPluginsByLongOptionz#PluginsTests.getPluginsByLongOption   sd   € ô ",¬IÓ!6ö
Ø¸&¿.¹.ÈJÓ:VŠFð
ˆð 
ô ˆw‹<˜!ÒÝâ™wð(óð ð �q‰zÐùò
s
   ’A§ANc                 ó>  — | j                  d«      }| j                  d|j                  «       | j                  d|j                  «       | j                  d|j                  «       | j                  d|j                  «       | j                  d|j                  «       y)zM
        One of the reporter plugins is the subunit reporter plugin.
        ÚsubunitzSubunit Reporterztwisted.trial.reporterNÚSubunitReporter)r   ÚassertEqualÚnameÚmoduler
   ÚassertIdenticalÚshortOptÚklass)r   ÚsubunitPlugins     r   Útest_subunitPluginzPluginsTests.test_subunitPlugin%   s…   € ð ×3Ñ3°IÓ>ˆØ×ÑÐ+¨]×-?Ñ-?Ô@Ø×ÑÐ1°=×3GÑ3GÔHØ×Ñ˜ M×$9Ñ$9Ô:Ø×Ñ˜T =×#9Ñ#9Ô:Ø×ÑÐ*¨M×,?Ñ,?Õ@ó    )ÚreturnN)Ú__name__Ú
__module__Ú__qualname__Ú__doc__r   r   © r   r   r   r      s   „ ñòô"	Ar   r   N)	r#   Útwisted.pluginr   Útwisted.trialr   Útwisted.trial.itrialr   ÚSynchronousTestCaser   r$   r   r   ú<module>r)      s)   ðñõ &Ý "Ý *ôA�8×/Ñ/õ Ar   