On 5. Okt 2005, at 23:27, Paul Winkler wrote:
I'm trying to use CMFTestCase along with ZopeTestCase.Functional
to test my skin scripts. But how do I get them set up
properly? Anybody have working examples of this? I wondered
if there might be some in the Plone test suites but if so I
didn't find any.
Example that fails because "document_view" is 404:
"""Test the skin scripts and templates.
This should be
class TestUI(ZopeTestCase.Functional, CMFTestCase.CMFTestCase):
Your observation (in one of the other mails <wink>) is correct. Mix-
ins must come first. Also, make sure to use the SVN version of
CMFTestCase  as the tarball is outdated.
Anything that happens, happens. --Douglas Adams
Zope-CMF maillist - Zope-CMF@lists.zope.org
See http://collector.zope.org/CMF for bug reports and feature requests