Ϫf\dZddlmZmZGddZGddeeZGddeeZy ) zm Direct unit tests for L{twisted.trial.unittest.SynchronousTestCase} and L{twisted.trial.unittest.TestCase}. )SynchronousTestCaseTestCasec"eZdZdZdZdZdZy) TestCaseMixinz L{TestCase} tests. c\|jd|_|jd|_y)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) MyTestCasefirstsecondselfs B/usr/lib/python3/dist-packages/twisted/trial/test/test_testcase.pysetUpzTestCaseMixin.setUps$ __X. ooh/ c|j|j|jk(|j|j|jk7|j|j|jk(y)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 s r test_equalityzTestCaseMixin.test_equalitysQ  djj01  dkk12 t{{23rczi}d||j<d||j<|jt|dy)z In order for one test method to be runnable twice, two TestCase instances with the same test method name should not have the same hash value. N)r r assertEquallen)r containers rtest_hashabilityzTestCaseMixin.test_hashability#s9  $ $**!% $++ Y+rN)__name__ __module__ __qualname____doc__rrrrrrr s04 ,rrc"eZdZGddeZy)SynchronousTestCaseTestsceZdZdZdZy)#SynchronousTestCaseTests.MyTestCasezj Some test methods which can be used to test behaviors of L{SynchronousTestCase}. cyNrr s rrz*SynchronousTestCaseTests.MyTestCase.test_16 rNrrrrrrrrr r#0   rr N)rrrrr rrrr!r!/s(rr!c"eZdZGddeZy)AsynchronousTestCaseTestsceZdZdZdZy)$AsynchronousTestCaseTests.MyTestCasez_ Some test methods which can be used to test behaviors of L{TestCase}. cyr%rr s rrz+AsynchronousTestCaseTests.MyTestCase.test_1Cr&rNr'rrrr r,=r(rr N)rrrrr rrrr*r*<sXrr*N)rtwisted.trial.unittestrrrr!r*rrrr/s9 A,,D}.A /Br