[Zope-CMF] [dev] failing tests and other unit test issues
yuppie
y.2005- at wcm-solutions.de
Mon Apr 4 10:19:13 EDT 2005
Hi!
1.) CMFStaging tests
For a while now, I see 6 CMFStaging tests failing. Can anybody confirm
they are broken? Does anybody use CMFStaging and knows how to fix these
tests?
2.) test_DiscussionReply.py
- while most test modules include tests for a corresponding module of
the product, these are tests for a single collector issue
- the tests are not really unit tests, more something like integration tests
- they don't work with Zope 2.8
- they are not included in test_all.py
- AFAICS there are other tests that cover the related collector issue
Anybody wants to fix these tests for Zope 2.8? If not, I'd like to
remove them.
3.) Zope 2.8 warnings
'Zope2' is not available in Zope 2.7 and 'Zope' is deprecated in Zope
2.8. Same with 'transaction' and 'get_transaction'.
Has anybody a better idea to resolve it than this way:
http://cvs.zope.org/Products/CMFCore/tests/base/testcase.py.diff?r1=1.11&r2=1.12
If not, I'll use that pattern for other files and the 1.5 branch as well.
Cheers,
Yuppie
More information about the Zope-CMF
mailing list