Rob Miller wrote:
- need to readd the PortalGenerator portal creation mechanism for CMFDefault.Portal, for backwards compatibility

this is done. the unit test is still failing, however. for some reason, in CMFDefault.tests.test_Portal.CMFSiteTests, globals()["__warningregistry__"] doesn't seem to exist. i'm not sure how this is supposed to work, exactly...

The is put into place by the warnings module as soon as the first warning is emitted. See


it seems as though the self._trap_warning_output() call in the test setup is related, although i've looked at the WarningInterceptor code and don't understand how it's supposed to be working.

there's a similar but slightly different use of __warningregistry__ in CMFCore.tests.test_DirectoryView which IS working. if someone can point me in the direction of how this magic is supposed to happen, i'll dig more and get this last CMFDefault test passing.

- i've removed the CMFTopic setup stuff from the default profile, but have not yet replaced it with the extension profile in the CMFTopic product; for this reason CMFTopic unit tests are broken

this is done and all of the CMFTopic tests are now passing.

Florent Guillaume, Nuxeo (Paris, France)   Director of R&D
+33 1 40 33 71 59   [EMAIL PROTECTED]
Zope-CMF maillist  -

See for bug reports and feature requests

Reply via email to