Commit 51ed08be authored by Jim Fulton's avatar Jim Fulton

Wrapped some long lines.

parent ce1d3169
......@@ -594,7 +594,8 @@ class EstimatedSizeTests(ZODB.tests.util.TestCase):
transaction.savepoint()
new_size = obj._p_estimated_size
self.assert_(new_size > size)
self.assertEqual(cache.total_estimated_size, cache_size + new_size - size)
self.assertEqual(cache.total_estimated_size,
cache_size + new_size - size)
def test_size_set_on_load(self):
c = self.db.open() # new connection
......@@ -607,11 +608,11 @@ class EstimatedSizeTests(ZODB.tests.util.TestCase):
size = obj._p_estimated_size
self.assert_(size > 0)
self.assertEqual(cache.total_estimated_size, cache_size + size)
# we test here as well that the deactivation works reduced the cache size
# we test here as well that the deactivation works reduced the cache
# size
obj._p_deactivate()
self.assertEqual(cache.total_estimated_size, cache_size)
def test_configuration(self):
# verify defaults ....
expected = 0
......
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