[Zope-Checkins] CVS: ZODB3/ZEO/tests - testAuth.py:1.3.6.3

Jeremy Hylton jeremy at zope.com
Fri Sep 19 16:45:50 EDT 2003


Update of /cvs-repository/ZODB3/ZEO/tests
In directory cvs.zope.org:/tmp/cvs-serv8710

Modified Files:
      Tag: Zope-2_7-branch
	testAuth.py 
Log Message:
Fix test by clearing __hmac_send instead of obsolete __hmac.


=== ZODB3/ZEO/tests/testAuth.py 1.3.6.2 => 1.3.6.3 ===
--- ZODB3/ZEO/tests/testAuth.py:1.3.6.2	Fri Sep 19 15:01:28 2003
+++ ZODB3/ZEO/tests/testAuth.py	Fri Sep 19 16:45:49 2003
@@ -98,13 +98,9 @@
         self.wait()
         self._storage.versions()
         # Manually clear the state of the hmac connection
-        self._storage._connection._SizedMessageAsyncConnection__hmac = None
+        self._storage._connection._SizedMessageAsyncConnection__hmac_send = None
         # Once the client stops using the hmac, it should be disconnected.
         self.assertRaises(ClientDisconnected, self._storage.versions)
-
-    # Also need test to provoke message handling in different orders
-    # by client and server to demonstrate need for separate hmacs.
-        
 
 class PlainTextAuth(AuthTest):
     import ZEO.tests.auth_plaintext




More information about the Zope-Checkins mailing list