[CMF-checkins] CVS: CMF/CMFStaging/tests - testStaging.py:1.6
Shane Hathaway
shane@cvs.zope.org
Wed, 12 Jun 2002 14:00:16 -0400
Update of /cvs-repository/CMF/CMFStaging/tests
In directory cvs.zope.org:/tmp/cvs-serv16136/tests
Modified Files:
testStaging.py
Log Message:
Store the connection in the test class instance for clarity
=== CMF/CMFStaging/tests/testStaging.py 1.5 => 1.6 ===
app = Zope.app()
self.app = app
+ self.conn = app._p_jar
if hasattr(app, 'testroot'):
app._delObject('testroot')
app.manage_addProduct['OFSP'].manage_addFolder('testroot')
@@ -66,7 +67,7 @@
app = self.app
if hasattr(app, 'testroot'):
app._delObject('testroot')
- self.app._p_jar.close()
+ self.conn.close()
noSecurityManager()