Your IP : 172.28.240.42


Current Path : /usr/lib/python2.7/dist-packages/twisted/trial/test/
Upload File :
Current File : //usr/lib/python2.7/dist-packages/twisted/trial/test/test_plugins.pyc

ó
ê=Nc@sSdZddlmZddlmZddlmZdejfd„ƒYZdS(s-
Tests for L{twisted.plugins.twisted_trial}.
iÿÿÿÿ(t
getPlugins(tunittest(t	IReportertTestPluginscBs eZdZd„Zd„ZRS(s-
    Tests for Trial's reporter plugins.
    cCsagttƒD]}|j|kr
|^q
}t|ƒdkrYtd||fƒ‚n|dS(s±
        Return the Trial reporter plugin with the given long option.

        If more than one is found, raise ValueError. If none are found, raise
        IndexError.
        is2More than one plugin found with long option %r: %ri(RRtlongOpttlent
ValueError(tselft
longOptiontplugintplugins((sC/usr/lib/python2.7/dist-packages/twisted/trial/test/test_plugins.pytgetPluginsByLongOptionscCsr|jdƒ}|jd|jƒ|jd|jƒ|jd|jƒ|jd|jƒ|jd|jƒdS(sM
        One of the reporter plugins is the subunit reporter plugin.
        tsubunitsSubunit Reporterstwisted.trial.reportertSubunitReporterN(	RtassertEqualtnametmoduleRtassertIdenticaltNonetshortOpttklass(Rt
subunitPlugin((sC/usr/lib/python2.7/dist-packages/twisted/trial/test/test_plugins.pyttest_subunitPlugin%s(t__name__t
__module__t__doc__RR(((sC/usr/lib/python2.7/dist-packages/twisted/trial/test/test_plugins.pyRs	N(	Rttwisted.pluginRt
twisted.trialRttwisted.trial.itrialRtTestCaseR(((sC/usr/lib/python2.7/dist-packages/twisted/trial/test/test_plugins.pyt<module>s