Your IP : 172.28.240.42


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

ó
E‹ŽMc@sidZddlmZddlmZddd„ƒYZddd„ƒYZdejfd	„ƒYZd
S(
s(
Tests for L{twisted.persisted.styles}.
iÿÿÿÿ(tunittest(tunpickleMethodtFoocBseZdZd„ZRS(s
    Helper class.
    cCsdS(s 
        Helper method.
        N((tself((sF/usr/lib/python2.7/dist-packages/twisted/persisted/test/test_styles.pytmethods(t__name__t
__module__t__doc__R(((sF/usr/lib/python2.7/dist-packages/twisted/persisted/test/test_styles.pyRstBarcBseZdZRS(s
    Helper class.
    (RRR(((sF/usr/lib/python2.7/dist-packages/twisted/persisted/test/test_styles.pyRstUnpickleMethodTestCasecBs eZdZd„Zd„ZRS(s0
    Tests for the unpickleMethod function.
    cCsEtƒ}td|tƒ}|j||jƒ|j||jƒdS(sj
        L{unpickleMethod} returns an instance method bound to the
        instance passed to it.
        RN(RRtassertEqualRtassertNotIdentical(Rtfootm((sF/usr/lib/python2.7/dist-packages/twisted/persisted/test/test_styles.pyt test_instanceBuildingNamePresent#s	cCsEtƒ}td|tƒ}|j||jƒ|j||jƒdS(s·
        If the named method is not present in the class,
        L{unpickleMethod} finds a method on the class of the instance
        and returns a bound method from there.
        RN(RRRR
RR(RRR
((sF/usr/lib/python2.7/dist-packages/twisted/persisted/test/test_styles.pyt#test_instanceBuildingNameNotPresent.s	(RRRRR(((sF/usr/lib/python2.7/dist-packages/twisted/persisted/test/test_styles.pyR	s	N(((	Rt
twisted.trialRttwisted.persisted.stylesRRRtTestCaseR	(((sF/usr/lib/python2.7/dist-packages/twisted/persisted/test/test_styles.pyt<module>s