SVN: ZODB/trunk/src/ZEO/tests/ Fixed typo.

Jim Fulton <[email protected]>
Newsgroups gmane.comp.python.zope.zodb.cvs
Message-ID <20091218202052.58AEB7083BC__21077.0016223707$1261167666$gmane$org@cvs.zope.org>
Log message for revision 106771:
  Fixed typo.
  

Changed:
  U   ZODB/trunk/src/ZEO/tests/servertesting.py
  U   ZODB/trunk/src/ZEO/tests/testZEO2.py

-=-
Modified: ZODB/trunk/src/ZEO/tests/servertesting.py
===================================================================
--- ZODB/trunk/src/ZEO/tests/servertesting.py	2009-12-18 20:07:51 UTC (rev 106770)
+++ ZODB/trunk/src/ZEO/tests/servertesting.py	2009-12-18 20:20:51 UTC (rev 106771)
@@ -37,7 +37,7 @@
     def DispatcherClass(*args, **kw):
         pass
 
-class Conection:
+class Connection:
 
     peer_protocol_version = ZEO.zrpc.connection.Connection.current_protocol
     connected = True

Modified: ZODB/trunk/src/ZEO/tests/testZEO2.py
===================================================================
--- ZODB/trunk/src/ZEO/tests/testZEO2.py	2009-12-18 20:07:51 UTC (rev 106770)
+++ ZODB/trunk/src/ZEO/tests/testZEO2.py	2009-12-18 20:20:51 UTC (rev 106771)
@@ -57,7 +57,7 @@
 And an initial client.
 
     >>> zs1 = ZEO.StorageServer.ZEOStorage(server)
-    >>> conn1 = ZEO.tests.servertesting.Conection(1)
+    >>> conn1 = ZEO.tests.servertesting.Connection(1)
     >>> zs1.notifyConnected(conn1)
     >>> zs1.register('1', 0)
     >>> zs1.tpc_begin('0', '', '', {})
@@ -69,7 +69,7 @@
 will conflict. It will be blocked at the vote call.
 
     >>> zs2 = ZEO.StorageServer.ZEOStorage(server)
-    >>> conn2 = ZEO.tests.servertesting.Conection(2)
+    >>> conn2 = ZEO.tests.servertesting.Connection(2)
     >>> zs2.notifyConnected(conn2)
     >>> zs2.register('1', 0)
     >>> zs2.tpc_begin('1', '', '', {})
@@ -119,7 +119,7 @@
 And an initial client.
 
     >>> zs1 = ZEO.StorageServer.ZEOStorage(server)
-    >>> conn1 = ZEO.tests.servertesting.Conection(1)
+    >>> conn1 = ZEO.tests.servertesting.Connection(1)
     >>> zs1.notifyConnected(conn1)
     >>> zs1.register('1', 0)
     >>> zs1.tpc_begin('0', '', '', {})
@@ -141,7 +141,7 @@
 We can start another client and get the storage lock.
 
     >>> zs1 = ZEO.StorageServer.ZEOStorage(server)
-    >>> conn1 = ZEO.tests.servertesting.Conection(1)
+    >>> conn1 = ZEO.tests.servertesting.Connection(1)
     >>> zs1.notifyConnected(conn1)
     >>> zs1.register('1', 0)
     >>> zs1.tpc_begin('1', '', '', {})
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.