23 Apr
2005
23 Apr
'05
2:48 p.m.
ZopeTestCase.app() returns a new connection which you would have to ZopeTestCase.close(app) after use. If you forget to close, you will deplete the connection pool and cause the hang you experience. Also, note that the app argument to utility methods is *optional*, and setupCoreSessions() will manage the connection for you if you omit it. So, make this ZopeTestCase.utils.setupCoreSessions() and all should be fine. HTH, Stefan On 23. Apr 2005, at 15:39, Balazs Ree wrote:
ZopeTestCase.utils.setupCoreSessions(ZopeTestCase.Zope.app())
-- Software Engineering is Programming when you can't. --E. W. Dijkstra