Re: [Zope-CMF] Re: [dev] failing tests and other unit test issues

2005-04-05 Thread Dieter Maurer
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. -- Dieter ___

[Zope-CMF] Re: [dev] failing tests and other unit test issues

2005-04-04 Thread Sidnei da Silva
| Good question ;) | | All I know is that | | - CMF uses that pattern in all test files | | - 'Products.CMFCore.foo' seems to work with any testing setup | | - with my setup 'CMFCore.foo' doesn't work if I run tests outside test.py Sorry, I meant instead of the try: except, just import from