[Zope3-checkins]
SVN: Zope3/trunk/src/zope/app/testing/functional.py
Fixed typos in defineLayer.
Jim Fulton
jim at zope.com
Mon Nov 14 12:41:45 EST 2005
Log message for revision 40097:
Fixed typos in defineLayer.
Changed:
U Zope3/trunk/src/zope/app/testing/functional.py
-=-
Modified: Zope3/trunk/src/zope/app/testing/functional.py
===================================================================
--- Zope3/trunk/src/zope/app/testing/functional.py 2005-11-14 17:25:33 UTC (rev 40096)
+++ Zope3/trunk/src/zope/app/testing/functional.py 2005-11-14 17:41:45 UTC (rev 40097)
@@ -202,10 +202,10 @@
def defineLayer(name, zcml='test.zcml'):
"""Helper function for defining layers.
- Usage: defineLater('foo')
+ Usage: defineLayer('foo')
"""
globals = sys._getframe(1).f_globals
- globals[name] = FTestingLayer(
+ globals[name] = ZCMLLayer(
os.path.join(os.path.split(globals['__file__'])[0], 'test.zcml'),
globals['__name__'],
name,
More information about the Zope3-Checkins
mailing list