Commit 047c5946 authored by Jim Fulton's avatar Jim Fulton

removed trailing whitespace.

parent c91d06fe
...@@ -145,7 +145,7 @@ class BlobUndoTests(BlobTestBase): ...@@ -145,7 +145,7 @@ class BlobUndoTests(BlobTestBase):
# the blob footprint object should exist no longer # the blob footprint object should exist no longer
self.assertRaises(KeyError, root.__getitem__, 'blob') self.assertRaises(KeyError, root.__getitem__, 'blob')
database.close() database.close()
def testUndo(self): def testUndo(self):
database = DB(self._storage) database = DB(self._storage)
connection = database.open() connection = database.open()
...@@ -178,7 +178,7 @@ class BlobUndoTests(BlobTestBase): ...@@ -178,7 +178,7 @@ class BlobUndoTests(BlobTestBase):
blob.consumeFile('consume1') blob.consumeFile('consume1')
root['blob'] = blob root['blob'] = blob
transaction.commit() transaction.commit()
transaction.begin() transaction.begin()
blob = root['blob'] blob = root['blob']
open('consume2', 'w').write('this is state 2') open('consume2', 'w').write('this is state 2')
...@@ -279,7 +279,7 @@ class RecoveryBlobStorage(BlobTestBase, ...@@ -279,7 +279,7 @@ class RecoveryBlobStorage(BlobTestBase,
transaction.commit() transaction.commit()
self._dst.copyTransactionsFrom(self._storage) self._dst.copyTransactionsFrom(self._storage)
self.compare(self._storage, self._dst) self.compare(self._storage, self._dst)
def gc_blob_removes_uncommitted_data(): def gc_blob_removes_uncommitted_data():
""" """
...@@ -335,7 +335,7 @@ Works with savepoints too: ...@@ -335,7 +335,7 @@ Works with savepoints too:
>>> transaction.commit() # doctest: +ELLIPSIS >>> transaction.commit() # doctest: +ELLIPSIS
Copied blob file ... Copied blob file ...
>>> root['blob2'].open().read() >>> root['blob2'].open().read()
'test2' 'test2'
...@@ -625,7 +625,7 @@ def storage_reusable_suite(prefix, factory, ...@@ -625,7 +625,7 @@ def storage_reusable_suite(prefix, factory,
return factory(name, blob_dir) return factory(name, blob_dir)
test.globs['create_storage'] = create_storage test.globs['create_storage'] = create_storage
suite = unittest.TestSuite() suite = unittest.TestSuite()
suite.addTest(doctest.DocFileSuite( suite.addTest(doctest.DocFileSuite(
"blob_connection.txt", "blob_importexport.txt", "blob_connection.txt", "blob_importexport.txt",
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment