File: //lib/python3/dist-packages/twisted/trial/__pycache__/itrial.cpython-310.pyc
o
�b6 � @ s8 d Z ddlmZ G dd� dej�ZG dd� dej�ZdS )z3
Interfaces for Trial.
Maintainer: Jonathan Lange
� Nc @ sB e Zd ZdZe�d�Zdd� Zdd� Zdd� Z d d
� Z
dd� Zd
S )� ITestCasezU
The interface that a test case must implement in order to be used in Trial.
z7The exception class that is raised by failed assertionsc C � dS )zQ
Run the test. Should always do exactly the same thing as run().
N� ��resultr r �6/usr/lib/python3/dist-packages/twisted/trial/itrial.py�__call__ � zITestCase.__call__c C r )zJ
Return the number of tests in this test case. Usually 1.
Nr r r r r �countTestCases r zITestCase.countTestCasesc C r )zk
Return a unique identifier for the test, usually the fully-qualified
Python name.
Nr r r r r �id! r zITestCase.idc C r )zj
Run the test, storing the results in C{result}.
@param result: A L{TestResult}.
Nr r r r r �run'