[Checkins] SVN: z3ext.layout/trunk/src/z3ext/layout/pagelet.txt update tests

Nikolay Kim fafhrd91 at gmail.com
Fri May 22 05:59:23 EDT 2009


Log message for revision 100225:
  update tests

Changed:
  U   z3ext.layout/trunk/src/z3ext/layout/pagelet.txt

-=-
Modified: z3ext.layout/trunk/src/z3ext/layout/pagelet.txt
===================================================================
--- z3ext.layout/trunk/src/z3ext/layout/pagelet.txt	2009-05-22 06:45:27 UTC (rev 100224)
+++ z3ext.layout/trunk/src/z3ext/layout/pagelet.txt	2009-05-22 09:59:23 UTC (rev 100225)
@@ -533,8 +533,8 @@
 
   >>> provideInterface('myPagelet4', IMyPagelet4, IPageletType)
 
-  >>> template4 = os.path.join(temp_dir, 'pagelet4.pt')
-  >>> open(template4, 'w').write('''<div>My pagelet4</div>''')
+  >>> template41 = os.path.join(temp_dir, 'pagelet41.pt')
+  >>> open(template41, 'w').write('''<div>My pagelet4</div>''')
 
   >>> context = xmlconfig.string("""
   ... <configure xmlns:z3ext="http://namespaces.zope.org/z3ext">
@@ -543,7 +543,7 @@
   ...       template="%s"
   ...       type="myPagelet4"
   ...       permission="zope.Public" />
-  ... </configure>"""%template4, context)
+  ... </configure>"""%template41, context)
 
   >>> pagelet = component.getMultiAdapter((Content(), request), name='pagelet')
   >>> print pagelet.publishTraverse(request, 'myPagelet4')



More information about the Checkins mailing list