Ñò Q¯Jc@s[ddkZdeifd„ƒYZdeifd„ƒYZdeifd„ƒYZdS(iÿÿÿÿNtTestDefaultRequestClassifiercBsAeZd„Zdd„Zd„Zd„Zd„Zd„ZRS(cCsddkl}|S(Niÿÿÿÿ(tdefault_request_classifier(trepoze.who.classifiersR(tselfR((sE/usr/lib/python2.6/site-packages/repoze/who/tests/test_classifiers.pyt_getFUTscCs2h}d|d<|dj o|i|ƒn|S(Niis wsgi.version(ii(tNonetupdate(Rtkwtenviron((sE/usr/lib/python2.6/site-packages/repoze/who/tests/test_classifiers.pyt _makeEnviron s   cCsB|iƒ}|ihdd6ƒ}||ƒ}|i|dƒdS(NtCOPYtREQUEST_METHODtdav(RR t assertEqual(Rt classifierRtresult((sE/usr/lib/python2.6/site-packages/repoze/who/tests/test_classifiers.pyttest_classify_dav_methods  cCsB|iƒ}|ihdd6ƒ}||ƒ}|i|dƒdS(NtWebDrivetHTTP_USER_AGENTR (RR R (RRRR((sE/usr/lib/python2.6/site-packages/repoze/who/tests/test_classifiers.pyttest_classify_dav_useragents  cCsI|iƒ}|ihdd6dd6ƒ}||ƒ}|i|dƒdS(Nstext/xmlt CONTENT_TYPEtPOSTR txmlpost(RR R (RRRR((sE/usr/lib/python2.6/site-packages/repoze/who/tests/test_classifiers.pyttest_classify_xmlposts    cCsI|iƒ}|ihdd6dd6ƒ}||ƒ}|i|dƒdS(Nstext/xmlRtGETR tbrowser(RR R (RRRR((sE/usr/lib/python2.6/site-packages/repoze/who/tests/test_classifiers.pyttest_classify_browser#s    N( t__name__t __module__RRR RRRR(((sE/usr/lib/python2.6/site-packages/repoze/who/tests/test_classifiers.pyRs      tTestDefaultChallengeDecidercBs/eZd„Zdd„Zd„Zd„ZRS(cCsddkl}|S(Niÿÿÿÿ(tdefault_challenge_decider(RR(RR((sE/usr/lib/python2.6/site-packages/repoze/who/tests/test_classifiers.pyR-scCs2h}d|d<|dj o|i|ƒn|S(Niis wsgi.version(ii(RR(RRR((sE/usr/lib/python2.6/site-packages/repoze/who/tests/test_classifiers.pyR 1s   cCs)|iƒ}|i|hdgƒƒdS(Ns401 Unauthorized(Rt failUnless(Rtdecider((sE/usr/lib/python2.6/site-packages/repoze/who/tests/test_classifiers.pyttest_challenges_on_4018s cCs)|iƒ}|i|hdgƒƒdS(Ns200 Ok(RtfailIf(RR ((sE/usr/lib/python2.6/site-packages/repoze/who/tests/test_classifiers.pyt!test_doesnt_challenges_on_non_401<s N(RRRRR R!R#(((sE/usr/lib/python2.6/site-packages/repoze/who/tests/test_classifiers.pyR+s   tTestPassthroughChallengeDecidercBsAeZd„Zdd„Zd„Zd„Zd„Zd„ZRS(cCsddkl}|S(Niÿÿÿÿ(tpassthrough_challenge_decider(RR%(RR%((sE/usr/lib/python2.6/site-packages/repoze/who/tests/test_classifiers.pyRBscCs2h}d|d<|dj o|i|ƒn|S(Niis wsgi.version(ii(RR(RRR((sE/usr/lib/python2.6/site-packages/repoze/who/tests/test_classifiers.pyR Fs   cCs)|iƒ}|i|hdgƒƒdS(Ns401 Unauthorized(RR(RR ((sE/usr/lib/python2.6/site-packages/repoze/who/tests/test_classifiers.pyttest_challenges_on_bare_401Ms cCs)|iƒ}|i|hdgƒƒdS(Ns200 Ok(RR"(RR ((sE/usr/lib/python2.6/site-packages/repoze/who/tests/test_classifiers.pyR#Qs cCs,|iƒ}|i|hddgƒƒdS(Ns401 OksWWW-Authenticatetxxx(sWWW-AuthenticateR'(RR"(RR ((sE/usr/lib/python2.6/site-packages/repoze/who/tests/test_classifiers.pyt3test_doesnt_challenges_on_401_with_WWW_AuthenticateUs cCs,|iƒ}|i|hddgƒƒdS(Ns401 Oks Content-Types text/html(s Content-Types text/html(RR"(RR ((sE/usr/lib/python2.6/site-packages/repoze/who/tests/test_classifiers.pyt,test_doesnt_challenges_on_401_with_text_htmlYs N( RRRRR R&R#R(R)(((sE/usr/lib/python2.6/site-packages/repoze/who/tests/test_classifiers.pyR$@s      (tunittesttTestCaseRRR$(((sE/usr/lib/python2.6/site-packages/repoze/who/tests/test_classifiers.pyts (