[Zodb-checkins] SVN: ZODB/branches/jim-async-client/src/ZEO/tests/testAuth.py Moved some comments around to make them clearer.

Jim Fulton jim at zope.com
Wed Jul 12 06:17:49 EDT 2006


Log message for revision 69099:
  Moved some comments around to make them clearer.
  

Changed:
  U   ZODB/branches/jim-async-client/src/ZEO/tests/testAuth.py

-=-
Modified: ZODB/branches/jim-async-client/src/ZEO/tests/testAuth.py
===================================================================
--- ZODB/branches/jim-async-client/src/ZEO/tests/testAuth.py	2006-07-12 10:17:34 UTC (rev 69098)
+++ ZODB/branches/jim-async-client/src/ZEO/tests/testAuth.py	2006-07-12 10:17:49 UTC (rev 69099)
@@ -95,10 +95,11 @@
     def testUnauthenticatedMessage(self):
         # Test that an unauthenticated message is rejected by the server
         # if it was sent after the connection was authenticated.
+
+        self._storage = self.openClientStorage(wait=0, username="foo",
+                                              password="bar", realm=self.realm)
         # Sleep for 0.2 seconds to give the server some time to start up
         # seems to be needed before and after creating the storage
-        self._storage = self.openClientStorage(wait=0, username="foo",
-                                              password="bar", realm=self.realm)
         self.wait()
         self._storage.versions()
         # Manually clear the state of the hmac connection



More information about the Zodb-checkins mailing list