Module Expr Str ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ClassDef bases NameLoad body Expr Str Assign NameStore Str FunctionDef arguments args NameParam NameParam defaults body Expr Str Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If Call NameLoad NameLoad NameLoad body Return Call NameLoad SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore ListLoad For NameStore AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr ListLoad SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num Call NameLoad SubscriptLoad NameLoad Index Num Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr keyword Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr keyword Call AttributeLoad NameLoad attr keyword Call AttributeLoad NameLoad attr keyword Call NameLoad AttributeLoad NameLoad attr keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr keyword Call AttributeLoad NameLoad attr keyword Call AttributeLoad NameLoad attr keyword Call NameLoad AttributeLoad NameLoad attr keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr keyword Call AttributeLoad NameLoad attr keyword Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If CompareIs NameLoad NameLoad body Return AttributeLoad NameLoad attr orelse Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad body Expr Str Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr keyword Call AttributeLoad NameLoad attr keyword Call AttributeLoad NameLoad attr keyword Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Expr Str Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr keyword Call AttributeLoad NameLoad attr keyword Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str decorator_list decorator_list
N/A N/A 
Test reporter forwarding test results over trial distributed AMP commands.

@since: 12.3
 twisted.python.failure Failure twisted.python.reflect qual twisted.trial.reporter TestResult twisted.trial._dist managercommands WorkerReporter N/A TestResult N/A N/A 
    Reporter for trial's distributed workers. We send things not through a
    stream, but through an C{AMP} protocol's C{callRemote} method.

    :ivar str _DEFAULT_TODO: Default message for expected failures and
        unexpected successes, used only if a C{Todo} is not provided.
     N/A _DEFAULT_TODO Test expected to fail __init__ N/A N/A self ampProtocol N/A N/A N/A 
        @param ampProtocol: The communication channel with the trial
            distributed manager which collects all test results.
        @type ampProtocol: C{AMP}
         N/A N/A N/A N/A super WorkerReporter self __init__ N/A N/A self ampProtocol ampProtocol N/A _getFailure N/A N/A self error N/A N/A N/A 
        Convert a C{sys.exc_info()}-style tuple to a L{Failure}, if necessary.
         N/A N/A isinstance error tuple N/A N/A N/A Failure N/A error N/A 1 N/A error N/A 0 N/A error N/A 2 N/A error N/A _getFrames N/A N/A self failure N/A N/A N/A 
        Extract frames from a C{Failure} instance.
         N/A frames N/A N/A frame N/A failure frames N/A N/A N/A N/A frames extend N/A N/A frame N/A 0 N/A frame N/A 1 N/A str N/A frame N/A 2 N/A frames N/A addSuccess N/A N/A self test N/A N/A N/A 
        Send a success over.
         N/A N/A N/A N/A super WorkerReporter self addSuccess test N/A N/A N/A N/A self ampProtocol callRemote N/A managercommands AddSuccess testName N/A N/A test id N/A addError N/A N/A self test error N/A N/A N/A 
        Send an error over.
         N/A N/A N/A N/A super WorkerReporter self addError test error N/A failure N/A N/A self _getFailure error N/A frames N/A N/A self _getFrames failure N/A N/A N/A N/A self ampProtocol callRemote N/A managercommands AddError testName N/A N/A test id error N/A N/A failure getErrorMessage errorClass N/A qual N/A failure type frames frames N/A addFailure N/A N/A self test fail N/A N/A N/A 
        Send a Failure over.
         N/A N/A N/A N/A super WorkerReporter self addFailure test fail N/A failure N/A N/A self _getFailure fail N/A frames N/A N/A self _getFrames failure N/A N/A N/A N/A self ampProtocol callRemote N/A managercommands AddFailure testName N/A N/A test id fail N/A N/A failure getErrorMessage failClass N/A qual N/A failure type frames frames N/A addSkip N/A N/A self test reason N/A N/A N/A 
        Send a skip over.
         N/A N/A N/A N/A super WorkerReporter self addSkip test reason N/A N/A N/A N/A self ampProtocol callRemote N/A managercommands AddSkip testName N/A N/A test id reason N/A str reason N/A _getTodoReason N/A N/A self todo N/A N/A N/A 
        Get the reason for a C{Todo}.

        If C[todo} is C{None}, return a sensible default.
         N/A N/A todo None N/A N/A N/A self _DEFAULT_TODO N/A N/A N/A todo reason N/A addExpectedFailure N/A N/A self test error todo N/A None N/A N/A 
        Send an expected failure over.
         N/A N/A N/A N/A super WorkerReporter self addExpectedFailure test error todo N/A N/A N/A N/A self ampProtocol callRemote N/A managercommands AddExpectedFailure testName N/A N/A test id error N/A N/A error getErrorMessage todo N/A N/A self _getTodoReason todo N/A addUnexpectedSuccess N/A N/A self test todo N/A None N/A N/A 
        Send an unexpected success over.
         N/A N/A N/A N/A super WorkerReporter self addUnexpectedSuccess test todo N/A N/A N/A N/A self ampProtocol callRemote N/A managercommands AddUnexpectedSuccess testName N/A N/A test id todo N/A N/A self _getTodoReason todo N/A printSummary N/A N/A self N/A N/A N/A 
        I{Don't} print a summary
         N/A N/A