Stefan H. Holek wrote:
I see two options:

a) Use a different portal name

    portal_name = 'mysite'

Can setupCMFSite not do something more clever if it finds the object already there?

b) Use getPortal() to create a new portal per test

    def getPortal(self):
        manage_addCMFSite(, portal_name)
        return getattr(, portal_name)

....hahaha, and watch your tests take hours to run ;-)


Simplistix - Content Management, Zope & Python Consulting

Zope-CMF maillist  -

See for bug reports and feature requests

Reply via email to