[Zope-CMF] Re: [dev] failing tests and other unit test issues
yuppie
y.2005- at wcm-solutions.de
Wed Apr 6 03:29:19 EDT 2005
Dieter Maurer wrote:
> yuppie wrote at 2005-4-4 20:59 +0200:
>
>>...
>>2.) I prefer to see the correct import in each file and to use utils
>>just for the fallback.
>
>
> But, then you get a nasty "try: ... except:" in hundred of
> files rather than just a single one.
>
Eight files in CMF, not hundreds of files for 'import transaction'.
It's a different story for 'import Zope2'. All unit test files would
need a nasty try/except and 'import Zope' makes much less noise than
'get_transaction()'.
So I'll leave them as they are, at least for now.
Cheers, Yuppie
More information about the Zope-CMF
mailing list