�
Ϫ�f6 � �h � d Z ddlmZ G d� dej � Z G d� dej � Zy)z3
Interfaces for Trial.
Maintainer: Jonathan Lange
� Nc �R � e Zd ZdZ ej
d� Zd� Zd� Zd� Z d� Z
d� Zy) � 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 � � y)zQ
Run the test. Should always do exactly the same thing as run().
N� ��results �6/usr/lib/python3/dist-packages/twisted/trial/itrial.py�__call__zITestCase.__call__ � � � c � � y)zJ
Return the number of tests in this test case. Usually 1.
Nr r r r �countTestCaseszITestCase.countTestCases r r c � � y)zk
Return a unique identifier for the test, usually the fully-qualified
Python name.
Nr r r r �idzITestCase.id! r r c � � y)zj
Run the test, storing the results in C{result}.
@param result: A L{TestResult}.
Nr r s r �runz
ITestCase.run' |