-ν ./θ?csYdZdkZdkZdkZdkZdkZdklZdkl Z dk l Z dk l Z dklZdklZdklZd klZ!d efd „ƒYZud efd „ƒYZ|defd„ƒYZƒeegZ…d„ZŒedjoeiddƒndS(sTest suite for AuthZEO.N(s LoopCallback(s zeopasswd(s ClientStorage(sClientDisconnected(s StorageServer(sCommonSetupTearDown(s FileStorage(sremovefssAuthTestcs€!tZ"eiZ#eiZ$eiZ&e Z (d„Z3d„Z =d„ZAd„Z Dd„ZKd„Z Rd„Z_d„Zgd „ZRS( Ncs ()tiƒ|_*|io"+|i|i|iƒ|_n-|i|iƒ|_.|iiddƒ/|iiƒ0|i ƒ1|i ƒdS(Nsfoosbar( stempfilesmktempsselfspwfilesrealmsdbclassspwdbsadd_userssaves_checkZEOpasswds_AuthTest__super_setUp(sself((s:/usr/pkg/lib/python2.2/site-packages/ZEO/tests/testAuth.pyssetUp(s " cs·34d|id|ig}5|idjoN6dkl}7ti|ddg|ƒ8ti|ddg|ƒn5:ti|ddgƒ;ti|ddgƒdS(Ns-fs-ps plaintext(sDatabases-dsfoosbar(sselfspwfilesprotocolsargss ZEO.auth.basesDatabases zeopasswdsmain(sselfsargssDatabase((s:/usr/pkg/lib/python2.2/site-packages/ZEO/tests/testAuth.pys_checkZEOpasswd3s!cs'=>|iƒ?ti|iƒdS(N(sselfs_AuthTest__super_tearDownsossremovespwfile(sself((s:/usr/pkg/lib/python2.2/site-packages/ZEO/tests/testAuth.pystearDown=s csABdSdS(Ns((sselfspathscreates read_only((s:/usr/pkg/lib/python2.2/site-packages/ZEO/tests/testAuth.pys getConfigAscsPDE|i||ƒ}F|i|_G|i|_H|i |_ I|SdS(N( sselfs _AuthTest__super_getServerConfigsaddrsro_svrszconfsprotocolsauthentication_protocolspwfilesauthentication_databasesrealmsauthentication_realm(sselfsaddrsro_svrszconf((s:/usr/pkg/lib/python2.2/site-packages/ZEO/tests/testAuth.pysgetServerConfigDs cs_KLxBtdƒDL]1}M|iio NdSnOtidƒqWP|idƒdS(Nif0.10000000000000001s,Timed out waiting for client to authenticate(srangesisselfs_storagestest_connectionstimessleepsfail(sselfsi((s:/usr/pkg/lib/python2.2/site-packages/ZEO/tests/testAuth.pyswaitKs   c s–RU|iddddVddd|iƒ|_W|iƒY|i|iiƒZ|iiiƒ[|i|iiƒƒ]|ii ƒdS(Nswaitisusernamesfoospasswordsbarsrealm( sselfsopenClientStoragesrealms_storageswaitsassert_s _connectionspolls is_connectedsversions(sself((s:/usr/pkg/lib/python2.2/site-packages/ZEO/tests/testAuth.pystestOKRs c s]_`|iddddaddbd|iƒ|_c|iƒe|i|iiƒdS(Nswaitisusernamesfoospasswordsnoogiesrealm(sselfsopenClientStoragesrealms_storageswaitsfailIfs _connection(sself((s:/usr/pkg/lib/python2.2/site-packages/ZEO/tests/testAuth.pystestNOK_s   c sgl|iddddmddd|iƒ|_n|iƒo|iiƒqt|ii_s|i t |iiƒdS(Nswaitisusernamesfoospasswordsbarsrealm( sselfsopenClientStoragesrealms_storageswaitsversionssNones _connections'_SizedMessageAsyncConnection__hmac_sends assertRaisessClientDisconnected(sself((s:/usr/pkg/lib/python2.2/site-packages/ZEO/tests/testAuth.pystestUnauthenticatedMessagegs  (s__name__s __module__sCommonSetupTearDownsgetServerConfigs _AuthTest__super_getServerConfigssetUps_AuthTest__super_setUpstearDowns_AuthTest__super_tearDownsNonesrealms_checkZEOpasswds getConfigswaitstestOKstestNOKstestUnauthenticatedMessage(((s:/usr/pkg/lib/python2.2/site-packages/ZEO/tests/testAuth.pysAuthTest!s          s PlainTextAuthcsDutZvdkZwdZxdZyeiiiZ zdZ RS(Ns plaintexts authdb.shasPlaintext Realm( s__name__s __module__sZEO.tests.auth_plaintextsZEOsprotocolsdatabasestestssauth_plaintextsDatabasesdbclasssrealm(((s:/usr/pkg/lib/python2.2/site-packages/ZEO/tests/testAuth.pys PlainTextAuthus    s DigestAuthcsD|tZ}dkZ~dZdZ€eiiiZ dZ RS(Nsdigests authdb.digests Digest Realm( s__name__s __module__sZEO.auth.auth_digestsZEOsprotocolsdatabasesauths auth_digestsDigestDatabasesdbclasssrealm(((s:/usr/pkg/lib/python2.2/site-packages/ZEO/tests/testAuth.pys DigestAuth|s    csV…†tiƒ}‡x3tD‡](}ˆti|ƒ}‰|i|ƒqWŠ|SdS(N(sunittests TestSuitessuites test_classessklasss makeSuitessubsaddTest(ssuitessubsklass((s:/usr/pkg/lib/python2.2/site-packages/ZEO/tests/testAuth.pys test_suite…s  s__main__s defaultTests test_suite(s__doc__sosstempfilestimesunittestszLOGs ThreadedAsyncs LoopCallbacksZEOs zeopasswdsZEO.ClientStorages ClientStoragesZEO.ExceptionssClientDisconnectedsZEO.StorageServers StorageServersZEO.tests.ConnectionTestssCommonSetupTearDownsZODB.FileStorages FileStoragesZODB.tests.StorageTestBasesremovefssAuthTests PlainTextAuths DigestAuths test_classess test_suites__name__smain(s ClientStorages PlainTextAuths FileStoragesClientDisconnecteds LoopCallbackstempfiles zeopasswdsunittests DigestAuthsremovefss test_suites test_classesstimeszLOGsAuthTestsossCommonSetupTearDowns StorageServer((s:/usr/pkg/lib/python2.2/site-packages/ZEO/tests/testAuth.pys?s(      T