Your IP : 172.28.240.42


Current Path : /usr/lib/python2.7/dist-packages/twisted/trial/test/
Upload File :
Current File : //usr/lib/python2.7/dist-packages/twisted/trial/test/test_testcase.pyc


=Nc@s0dZddlmZdefdYZdS(s;
Direct unit tests for L{twisted.trial.unittest.TestCase}.
i(tTestCaset
TestCaseTestscBs?eZdZdefdYZdZdZdZRS(s
    L{TestCase} tests.
    t
MyTestCasecBseZdZdZRS(s_
        Some test methods which can be used to test behaviors of
        L{TestCase}.
        cCsdS(N((tself((sD/usr/lib/python2.7/dist-packages/twisted/trial/test/test_testcase.pyttest_1s(t__name__t
__module__t__doc__R(((sD/usr/lib/python2.7/dist-packages/twisted/trial/test/test_testcase.pyRscCs(|jd|_|jd|_dS(s
        Create a couple instances of C{MyTestCase}, each for the same test
        method, to be used in the test methods of this class.
        RN(Rtfirsttsecond(R((sD/usr/lib/python2.7/dist-packages/twisted/trial/test/test_testcase.pytsetUpscCsO|j|j|jk|j|j|jk|j|j|jkdS(s
        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(t
assertTrueRR	tassertFalse(R((sD/usr/lib/python2.7/dist-packages/twisted/trial/test/test_testcase.pyt
test_equality scCs:i}d||j<d||j<|jt|ddS(s
        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.
        iN(tNoneRR	tassertEqualtlen(Rt	container((sD/usr/lib/python2.7/dist-packages/twisted/trial/test/test_testcase.pyttest_hashability*s

(RRRRRR
R
R(((sD/usr/lib/python2.7/dist-packages/twisted/trial/test/test_testcase.pyRs
			
N(Rttwisted.trial.unittestRR(((sD/usr/lib/python2.7/dist-packages/twisted/trial/test/test_testcase.pyt<module>s