File: //usr/lib/python3/dist-packages/twisted/trial/test/__pycache__/test_testcase.cpython-310.pyc
o
�b� � @ sJ d Z ddlmZmZ G dd� d�ZG dd� dee�ZG dd� dee�Zd S )
zm
Direct unit tests for L{twisted.trial.unittest.SynchronousTestCase} and
L{twisted.trial.unittest.TestCase}.
� )�SynchronousTestCase�TestCasec @ s( e Zd ZdZdd� Zdd� Zdd� ZdS ) �
TestCaseMixinz
L{TestCase} tests.
c C s | � d�| _| � d�| _dS )z�
Create a couple instances of C{MyTestCase}, each for the same test
method, to be used in the test methods of this class.
�test_1N)�
MyTestCase�first�second��self� r �B/usr/lib/python3/dist-packages/twisted/trial/test/test_testcase.py�setUp s zTestCaseMixin.setUpc C s: | � | j| jk� | � | j| jk� | �| j| jk� dS )z�
In order for one test method to be runnable twice, two TestCase
instances with the same test method name must not compare as equal.
N)�
assertTruer r �assertFalser r r r �
test_equality s zTestCaseMixin.test_equalityc C s, i }d|| j <