[Zodb-checkins] CVS: Zope/utilities/ZODBTools/tests - testfstest.py:1.2 testzeopack.py:1.8
Martijn Pieters
mj@zope.com
Wed, 14 Aug 2002 17:22:58 -0400
Update of /cvs-repository/Zope/utilities/ZODBTools/tests
In directory cvs.zope.org:/tmp/cvs-serv10249/ZODBTools/tests
Modified Files:
testfstest.py testzeopack.py
Log Message:
Clean up indentation and trailing whitespace.
=== Zope/utilities/ZODBTools/tests/testfstest.py 1.1 => 1.2 ===
--- Zope/utilities/ZODBTools/tests/testfstest.py:1.1 Fri Sep 28 19:00:52 2001
+++ Zope/utilities/ZODBTools/tests/testfstest.py Wed Aug 14 17:22:57 2002
@@ -160,7 +160,7 @@
newlen = struct.pack(">II", 0, tl - (len(data) - 24))
self._file.write(newlen)
self.detectsError("truncated at")
-
+
def testBadDataLength(self):
self.copyTransactions(1)
tl, data = self.getHeader()
@@ -180,4 +180,3 @@
if __name__ == "__main__":
unittest.main()
-
=== Zope/utilities/ZODBTools/tests/testzeopack.py 1.7 => 1.8 ===
--- Zope/utilities/ZODBTools/tests/testzeopack.py:1.7 Thu Aug 8 14:25:10 2002
+++ Zope/utilities/ZODBTools/tests/testzeopack.py Wed Aug 14 17:22:57 2002
@@ -26,7 +26,7 @@
self.started = 0
def start(self):
- self.started =1
+ self.started =1
self.path = tempfile.mktemp(suffix=".fs")
self._storage = FileStorage(self.path)
self.db = ZODB.DB(self._storage)
@@ -100,7 +100,7 @@
assert os.path.exists(self.path + ".old")
class UpTest(unittest.TestCase):
-
+
def testUp(self):
status = os.system("zeoup.py -p 19")
# There is no ZEO server on port 19, so we should see non-zero