File: //usr/lib/python3/dist-packages/twisted/trial/_dist/__pycache__/workerreporter.cpython-310.pyc
o
�b/ � @ sH d Z ddlmZ ddlmZ ddlmZ ddlmZ G dd� de�Z dS ) zZ
Test reporter forwarding test results over trial distributed AMP commands.
@since: 12.3
� )�Failure)�qual)�managercommands)�
TestResultc s� e Zd ZdZdZ� fdd�Zdd� Zdd� Z� fd d
�Z� fdd�Z � fd
d�Z
� fdd�Zdd� Zd� fdd� Z
d� fdd� Zdd� Z� ZS )�WorkerReportera
Reporter for trial's distributed workers. We send things not through a
stream, but through an C{AMP} protocol's C{callRemote} method.
@ivar _DEFAULT_TODO: Default message for expected failures and
unexpected successes, used only if a C{Todo} is not provided.
zTest expected to failc s t � �� || _dS )z�
@param ampProtocol: The communication channel with the trial
distributed manager which collects all test results.
@type ampProtocol: C{AMP}
N)�super�__init__�ampProtocol)�selfr �� __class__� �D/usr/lib/python3/dist-packages/twisted/trial/_dist/workerreporter.pyr s
zWorkerReporter.__init__c C s&