Sidnei da Silva wrote:
| 2.) adding BBBTransaction to CMFCore.tests.base.utils and using this in | tests:
| | try:
| import transaction
| except ImportError:
| # BBB: for Zope 2.7
| from Products.CMFCore.tests.base.utils import transaction

Why not just import from CMFCore.test.base.utils straight?

Good question ;)

All I know is that

- CMF uses that pattern in all test files

- '' seems to work with any testing setup

- with my setup '' doesn't work if I run tests outside

Cheers, Yuppie

Zope-CMF maillist  -

See for bug reports and feature requests

Reply via email to