[Checkins] SVN: zope.app.generations/trunk/src/zope/app/generations/browser/tests.py as TestDatabaseSchema extends functional.BrowserTestCase calling the setUp mehtod is not necessary (it even breaks the tests because it leaks a ZODB connection as zope.app.testing tells)
Michael Howitz
mh at gocept.com
Tue Jan 27 03:43:43 EST 2009
Log message for revision 95085:
as TestDatabaseSchema extends functional.BrowserTestCase calling the setUp mehtod is not necessary (it even breaks the tests because it leaks a ZODB connection as zope.app.testing tells)
Changed:
U zope.app.generations/trunk/src/zope/app/generations/browser/tests.py
-=-
Modified: zope.app.generations/trunk/src/zope/app/generations/browser/tests.py
===================================================================
--- zope.app.generations/trunk/src/zope/app/generations/browser/tests.py 2009-01-27 08:28:58 UTC (rev 95084)
+++ zope.app.generations/trunk/src/zope/app/generations/browser/tests.py 2009-01-27 08:43:42 UTC (rev 95085)
@@ -25,8 +25,6 @@
class TestDatabaseSchema(functional.BrowserTestCase):
def test(self):
- functional.BrowserTestCase.setUp(self)
-
root = self.getRootFolder()._p_jar.root()
appkey = 'zope.app.generations.demo'
root[generations_key][appkey] = 0
More information about the Checkins
mailing list