ó ę=Nc@sIddlmZddlmZddlZdejfd„ƒYZdS(iĸĸĸĸ(tunittest(trootsNt RootsTestcBs,eZd„Zd„Zd„Zd„ZRS(cCsktjƒ}y|jdƒWntk r0n X|jƒy|jƒWntk r\n X|jƒdS(Ntblah(RtRequesttwritetNotImplementedErrortfailtfinish(tselftrequest((s;/usr/lib/python2.7/dist-packages/twisted/test/test_roots.pyttestExceptions s    cCsÃtjƒ}|jddƒ|j|jdƒdƒ|jdƒ|j|jdƒdƒy|jddƒWntk r‚n X|j ƒy|j ddƒWntk rīn X|j ƒdS(Ntxttest( Rt Collectiont putEntityt assertEqualtgetStaticEntityt delEntitytNonet storeEntityRRt removeEntity(R t collection((s;/usr/lib/python2.7/dist-packages/twisted/test/test_roots.pyttestCollections"     cCs^dtjfd„ƒY}|ƒ}|j|jddƒdƒ|jtj|jddƒdS(NtconstcBseZd„ZRS(cSs |dkS(NR ((R tname((s;/usr/lib/python2.7/dist-packages/twisted/test/test_roots.pytnameConstraint0s(t__name__t __module__R(((s;/usr/lib/python2.7/dist-packages/twisted/test/test_roots.pyR/sR R ty(Rt ConstrainedRRRtfailUnlessRaisestConstraintViolation(R Rtc((s;/usr/lib/python2.7/dist-packages/twisted/test/test_roots.pyttestConstrained.s   cCsatjƒ}tj|_|jddƒ|j|jdƒdƒ|jtj |jddƒdS(NtaiR R( Rt HomogenousttypestIntTypet entityTypeRRRRR (R th((s;/usr/lib/python2.7/dist-packages/twisted/test/test_roots.pyttestHomogenous8s    (RRR RR"R)(((s;/usr/lib/python2.7/dist-packages/twisted/test/test_roots.pyRs   (t twisted.trialRttwisted.pythonRR%tTestCaseR(((s;/usr/lib/python2.7/dist-packages/twisted/test/test_roots.pyts