yuppie schrieb:
Katja Süss wrote:

my question concerning the setup of a site seems to be important also for testing of products using GenericSetup.
How to programmatically apply profiles?
Somebody knows how to do that?
Thank you for all hints and snippets,


This is a setup for a plain unittest.TestCase (not fancy, but it works):

http://svn.zope.org/CMF/trunk/CMFCalendar/tests/test_Calendar.py?rev=68513&view=auto

And this for a CMFTestCase.CMFTestCase:

http://svn.plone.org/svn/collective/CMFTestCase/trunk/testCMFCalendar.py


HTH, Yuppie



Thanks a lot, that's very, very helpful!
Best regards, Katja
_______________________________________________
Zope-CMF maillist  -  Zope-CMF@lists.zope.org
http://mail.zope.org/mailman/listinfo/zope-cmf

See http://collector.zope.org/CMF for bug reports and feature requests

Reply via email to