[Zodb-checkins] CVS: Zope3/src/zodb/zeo/tests - commitlock.py:1.5 connection.py:1.7

Albertas Agejevas alga@codeworks.lt
Thu, 13 Mar 2003 13:49:29 -0500


Update of /cvs-repository/Zope3/src/zodb/zeo/tests
In directory cvs.zope.org:/tmp/cvs-serv1411/src/zodb/zeo/tests

Modified Files:
	commitlock.py connection.py 
Log Message:
An unexpected raid by the Whitespace Police.

Other than fixes of nonconforming whitespace, just a couple of $Id$
docstrings has been added.



=== Zope3/src/zodb/zeo/tests/commitlock.py 1.4 => 1.5 ===
--- Zope3/src/zodb/zeo/tests/commitlock.py:1.4	Tue Feb 25 13:55:05 2003
+++ Zope3/src/zodb/zeo/tests/commitlock.py	Thu Mar 13 13:48:58 2003
@@ -114,7 +114,7 @@
 
         self._dostore()
         self._cleanup()
-        
+
     def checkCommitLockVoteAbort(self):
         oid, txn = self._start_txn()
         self._storage.tpcVote(txn)
@@ -127,7 +127,7 @@
 
         self._dostore()
         self._cleanup()
-        
+
     def checkCommitLockVoteClose(self):
         oid, txn = self._start_txn()
         self._storage.tpcVote(txn)
@@ -144,17 +144,17 @@
         # blocking the test thread.
         self._storages = []
         self._threads = []
-        
+
         for i in range(self.NUM_CLIENTS):
             storage = self._duplicate_client()
             txn = Transaction()
             tid = self._get_timestamp()
-            
+
             t = WorkerThread(self, storage, txn)
             self._threads.append(t)
             t.start()
             t.ready.wait()
-        
+
             # Close on the connections abnormally to test server response
             if i == 0:
                 storage.close()
@@ -182,7 +182,7 @@
         return `t`
 
 class CommitLockUndoTests(CommitLockTests):
-    
+
     def _get_trans_id(self):
         self._dostore()
         L = self._storage.undoInfo()
@@ -194,7 +194,7 @@
 
     def _finish_undo(self, msgid):
         return self._storage._server.rpc._deferred_wait(msgid)
-        
+
     def checkCommitLockUndoFinish(self):
         trans_id = self._get_trans_id()
         oid, txn = self._start_txn()
@@ -211,7 +211,7 @@
 
         self._dostore()
         self._cleanup()
-        
+
     def checkCommitLockUndoAbort(self):
         trans_id = self._get_trans_id()
         oid, txn = self._start_txn()
@@ -227,7 +227,7 @@
 
         self._dostore()
         self._cleanup()
-        
+
     def checkCommitLockUndoClose(self):
         trans_id = self._get_trans_id()
         oid, txn = self._start_txn()


=== Zope3/src/zodb/zeo/tests/connection.py 1.6 => 1.7 ===
--- Zope3/src/zodb/zeo/tests/connection.py:1.6	Tue Feb 25 13:55:05 2003
+++ Zope3/src/zodb/zeo/tests/connection.py	Thu Mar 13 13:48:58 2003
@@ -591,11 +591,11 @@
         # There were no transactions committed, so no verification
         # should be needed.
         self.assertEqual(self._storage.verify_result, "no verification")
-        
+
     def checkNoVerificationOnServerRestartWith2Clients(self):
         perstorage = self.openClientStorage(cache="test")
         self.assertEqual(perstorage.verify_result, "full verification")
-        
+
         self._storage = self.openClientStorage()
         oid = self._storage.newObjectId()
         # When we create a new storage, it should always do a full
@@ -625,7 +625,7 @@
     def checkQuickVerificationWith2Clients(self):
         perstorage = self.openClientStorage(cache="test")
         self.assertEqual(perstorage.verify_result, "full verification")
-        
+
         self._storage = self.openClientStorage()
         oid = self._storage.newObjectId()
         # When we create a new storage, it should always do a full
@@ -638,7 +638,7 @@
 
         perstorage.load(oid, '')
         perstorage.close()
-        
+
         revid = self._dostore(oid, revid)
 
         perstorage = self.openClientStorage(cache="test")
@@ -652,7 +652,7 @@
     def checkVerificationWith2ClientsInvqOverflow(self):
         perstorage = self.openClientStorage(cache="test")
         self.assertEqual(perstorage.verify_result, "full verification")
-        
+
         self._storage = self.openClientStorage()
         oid = self._storage.newObjectId()
         # When we create a new storage, it should always do a full