[Checkins] SVN: z3c.jbot/trunk/z3c/jbot/Five.txt Fix test setup (tests still broken in Zope 2.12)
Martin Aspeli
optilude at gmx.net
Sun Feb 7 22:59:03 EST 2010
Log message for revision 108866:
Fix test setup (tests still broken in Zope 2.12)
Changed:
U z3c.jbot/trunk/z3c/jbot/Five.txt
-=-
Modified: z3c.jbot/trunk/z3c/jbot/Five.txt
===================================================================
--- z3c.jbot/trunk/z3c/jbot/Five.txt 2010-02-08 02:14:26 UTC (rev 108865)
+++ z3c.jbot/trunk/z3c/jbot/Five.txt 2010-02-08 03:59:02 UTC (rev 108866)
@@ -30,7 +30,7 @@
>>> import z3c.jbot.manager
>>> import z3c.jbot.interfaces
- >>> factory = z3c.jbot.manager.TemplateManagerFactory()
+ >>> factory = z3c.jbot.manager.TemplateManagerFactory('z3c.jbot.tests.templates')
>>> component.provideAdapter(
... factory, (interface.Interface,), z3c.jbot.interfaces.ITemplateManager)
@@ -47,7 +47,7 @@
Register override for HTTP-request layer.
>>> from zope.publisher.interfaces.browser import IHTTPRequest
- >>> factory = z3c.jbot.manager.TemplateManagerFactory()
+ >>> factory = z3c.jbot.manager.TemplateManagerFactory('z3c.jbot.tests.templates')
>>> component.provideAdapter(
... factory, (IHTTPRequest,),
... z3c.jbot.interfaces.ITemplateManager, name='http')
More information about the checkins
mailing list