[Zope-Checkins] CVS: ZODB3/Tools/tests - testzeopack.py:1.7
testfstest.py:1.2
Jeremy Hylton
jeremy at zope.com
Thu Oct 2 14:17:56 EDT 2003
Update of /cvs-repository/ZODB3/Tools/tests
In directory cvs.zope.org:/tmp/cvs-serv18770/Tools/tests
Modified Files:
testzeopack.py testfstest.py
Log Message:
Merge changes from Zope-2_7-branch to the trunk.
=== ZODB3/Tools/tests/testzeopack.py 1.6 => 1.7 ===
--- ZODB3/Tools/tests/testzeopack.py:1.6 Wed Jan 30 17:10:48 2002
+++ ZODB3/Tools/tests/testzeopack.py Thu Oct 2 14:17:25 2003
@@ -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)
@@ -105,7 +105,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
=== ZODB3/Tools/tests/testfstest.py 1.1 => 1.2 ===
--- ZODB3/Tools/tests/testfstest.py:1.1 Fri Sep 28 19:00:52 2001
+++ ZODB3/Tools/tests/testfstest.py Thu Oct 2 14:17:25 2003
@@ -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()
-
More information about the Zope-Checkins
mailing list