| Server IP : 61.19.30.66 / Your IP : 216.73.216.15 Web Server : Apache/2.2.22 (Ubuntu) System : Linux klw 3.11.0-15-generic #25~precise1-Ubuntu SMP Thu Jan 30 17:39:31 UTC 2014 x86_64 User : www-data ( 33) PHP Version : 5.3.10-1ubuntu3.48 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority, MySQL : ON | cURL : OFF | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : OFF Directory : /usr/lib/python2.7/dist-packages/twisted/trial/test/ |
Upload File : |
ó
ę=Nc @ sS d Z d d l m Z d d l m Z d d l m Z d e j f d YZ d S( s-
Tests for L{twisted.plugins.twisted_trial}.
iĸĸĸĸ( t
getPlugins( t unittest( t IReportert TestPluginsc B s e Z d Z d Z d Z RS( s-
Tests for Trial's reporter plugins.
c C sa g t t D] } | j | k r
| ^ q
} t | d k rY t d | | f n | d S( 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.
i s2 More than one plugin found with long option %r: %ri ( R R t longOptt lent
ValueError( t selft
longOptiont plugint plugins( ( sC /usr/lib/python2.7/dist-packages/twisted/trial/test/test_plugins.pyt getPluginsByLongOption s c C sr | j d } | j d | j | j d | j | j d | j | j d | j | j d | j d S( sM
One of the reporter plugins is the subunit reporter plugin.
t subunits Subunit Reporters twisted.trial.reportert SubunitReporterN( R t assertEqualt namet moduleR t assertIdenticalt Nonet shortOptt klass( R t
subunitPlugin( ( sC /usr/lib/python2.7/dist-packages/twisted/trial/test/test_plugins.pyt test_subunitPlugin% s ( t __name__t
__module__t __doc__R R ( ( ( sC /usr/lib/python2.7/dist-packages/twisted/trial/test/test_plugins.pyR s N( R t twisted.pluginR t
twisted.trialR t twisted.trial.itrialR t TestCaseR ( ( ( sC /usr/lib/python2.7/dist-packages/twisted/trial/test/test_plugins.pyt <module> s