| Server IP : 138.197.176.125 / Your IP : 216.73.217.55 Web Server : Apache/2.4.41 (Ubuntu) System : Linux SuiteCRM-8 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64 User : root ( 0) PHP Version : 8.3.19 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /lib/python3/dist-packages/twisted/trial/test/__pycache__/ |
Upload File : |
U
W[� � @ s\ d Z ddlmZmZ ddlmZmZ G dd� de�ZG dd� dee�Z G dd � d ee�Z
d
S )zm
Direct unit tests for L{twisted.trial.unittest.SynchronousTestCase} and
L{twisted.trial.unittest.TestCase}.
� )�division�absolute_import)�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)Z
assertTruer r
ZassertFalser r
r
r �
test_equality s zTestCaseMixin.test_equalityc C s, i }d|| j <