[Zope3-checkins]
SVN: Zope3/trunk/src/zope/app/publisher/browser/metaconfigure.py
Forgot to fix failing tests due to fix.
Stephan Richter
srichter at cosmos.phy.tufts.edu
Fri Apr 1 23:16:08 EST 2005
Log message for revision 29830:
Forgot to fix failing tests due to fix.
Changed:
U Zope3/trunk/src/zope/app/publisher/browser/metaconfigure.py
-=-
Modified: Zope3/trunk/src/zope/app/publisher/browser/metaconfigure.py
===================================================================
--- Zope3/trunk/src/zope/app/publisher/browser/metaconfigure.py 2005-04-02 03:01:01 UTC (rev 29829)
+++ Zope3/trunk/src/zope/app/publisher/browser/metaconfigure.py 2005-04-02 04:16:05 UTC (rev 29830)
@@ -58,7 +58,7 @@
>>> layer(context, u'layer1')
>>> iface = context.actions[0]['args'][1]
>>> iface.getName()
- u'layer1'
+ 'layer1'
>>> ILayer.providedBy(iface)
True
>>> hasattr(sys.modules['zope.app.layers'], 'layer1')
@@ -75,7 +75,7 @@
>>> layer(context, u'layer1', base=BaseLayer)
>>> iface = context.actions[0]['args'][1]
>>> iface.getName()
- u'layer1'
+ 'layer1'
>>> iface.__bases__
(<InterfaceClass zope.app.publisher.browser.metaconfigure.BaseLayer>,)
>>> hasattr(sys.modules['zope.app.layers'], 'layer1')
@@ -204,7 +204,7 @@
>>> skin(context, u'skin1', layers=[Layer1, Layer2])
>>> iface = context.actions[3]['args'][1]
>>> iface.getName()
- u'skin1'
+ 'skin1'
>>> pprint.pprint(iface.__bases__)
(<InterfaceClass zope.app.publisher.browser.metaconfigure.Layer1>,
<InterfaceClass zope.app.publisher.browser.metaconfigure.Layer2>)
More information about the Zope3-Checkins
mailing list