ϪfVdZddlmZddlmZddlmZGddejZy)z- Tests for L{twisted.plugins.twisted_trial}. ) getPlugins)unittest) IReporterceZdZdZdZddZy) PluginsTestsz- Tests for Trial's reporter plugins. cttDcgc]}|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)rrlongOptlen ValueError)self longOptionpluginpluginss A/usr/lib/python3/dist-packages/twisted/trial/test/test_plugins.pygetPluginsByLongOptionz#PluginsTests.getPluginsByLongOptionsd",I!6 &..J:VF   w|jd}|jd|j|jd|j|jd|j|j d|j |jd|jy)zM One of the reporter plugins is the subunit reporter plugin. subunitzSubunit Reporterztwisted.trial.reporterNSubunitReporter)r assertEqualnamemoduler assertIdenticalshortOptklass)r subunitPlugins rtest_subunitPluginzPluginsTests.test_subunitPlugin%s33I>  +]-?-?@ 1=3G3GH M$9$9: T=#9#9: *M,?,?@)returnN)__name__ __module__ __qualname____doc__rrrrrrs" ArrN) r#twisted.pluginr twisted.trialrtwisted.trial.itrialrSynchronousTestCaserr$rrr)s) &"*A8//Ar