[Checkins] SVN: zope.app.publisher/trunk/src/zope/app/publisher/browser/tests/test_addMenuItem.py Fix test failures because the IAdding interface now comes from
Martijn Faassen
faassen at startifact.com
Tue May 19 08:55:59 EDT 2009
Log message for revision 100126:
Fix test failures because the IAdding interface now comes from
zope.browser.
Changed:
U zope.app.publisher/trunk/src/zope/app/publisher/browser/tests/test_addMenuItem.py
-=-
Modified: zope.app.publisher/trunk/src/zope/app/publisher/browser/tests/test_addMenuItem.py
===================================================================
--- zope.app.publisher/trunk/src/zope/app/publisher/browser/tests/test_addMenuItem.py 2009-05-19 12:35:34 UTC (rev 100125)
+++ zope.app.publisher/trunk/src/zope/app/publisher/browser/tests/test_addMenuItem.py 2009-05-19 12:55:59 UTC (rev 100126)
@@ -32,14 +32,14 @@
<InterfaceClass zope.component.interfaces.IFactory>),
{}),
(('adapter',
- (<InterfaceClass zope.app.container.interfaces.IAdding>,
+ (<InterfaceClass zope.browser.interfaces.IAdding>,
<InterfaceClass zope.publisher.interfaces.browser.IDefaultBrowserLayer>),
<InterfaceClass zope.app.publisher.interfaces.browser.AddMenu>,
'Add an X'),
<function handler>,
('registerAdapter',
<zope.app.publisher.browser.menumeta.MenuItemFactory object>,
- (<InterfaceClass zope.app.container.interfaces.IAdding>,
+ (<InterfaceClass zope.browser.interfaces.IAdding>,
<InterfaceClass zope.publisher.interfaces.browser.IDefaultBrowserLayer>),
<InterfaceClass zope.app.publisher.interfaces.browser.AddMenu>,
'Add an X',
@@ -52,8 +52,7 @@
{}),
(None,
<function provideInterface>,
- ('',
- <InterfaceClass zope.app.container.interfaces.IAdding>),
+ ('', <InterfaceClass zope.browser.interfaces.IAdding>),
{}),
(None,
<function provideInterface>,
@@ -111,14 +110,14 @@
... filter="context/foo")
>>> context
((('adapter',
- (<InterfaceClass zope.app.container.interfaces.IAdding>,
+ (<InterfaceClass zope.browser.interfaces.IAdding>,
<InterfaceClass zope.publisher.interfaces.browser.IDefaultBrowserLayer>),
<InterfaceClass zope.app.publisher.interfaces.browser.AddMenu>,
'Add an X'),
<function handler>,
('registerAdapter',
<zope.app.publisher.browser.menumeta.MenuItemFactory object>,
- (<InterfaceClass zope.app.container.interfaces.IAdding>,
+ (<InterfaceClass zope.browser.interfaces.IAdding>,
<InterfaceClass zope.publisher.interfaces.browser.IDefaultBrowserLayer>),
<InterfaceClass zope.app.publisher.interfaces.browser.AddMenu>,
'Add an X',
@@ -131,8 +130,7 @@
{}),
(None,
<function provideInterface>,
- ('',
- <InterfaceClass zope.app.container.interfaces.IAdding>),
+ ('', <InterfaceClass zope.browser.interfaces.IAdding>),
{}),
(None,
<function provideInterface>,
@@ -150,19 +148,19 @@
>>> context
((None,
<function _checkViewFor>,
- (<InterfaceClass zope.app.container.interfaces.IAdding>,
+ (<InterfaceClass zope.browser.interfaces.IAdding>,
<InterfaceClass zope.publisher.interfaces.browser.IDefaultBrowserLayer>,
'AddX'),
{}),
(('adapter',
- (<InterfaceClass zope.app.container.interfaces.IAdding>,
+ (<InterfaceClass zope.browser.interfaces.IAdding>,
<InterfaceClass zope.publisher.interfaces.browser.IDefaultBrowserLayer>),
<InterfaceClass zope.app.publisher.interfaces.browser.AddMenu>,
'Add an X'),
<function handler>,
('registerAdapter',
<zope.app.publisher.browser.menumeta.MenuItemFactory object>,
- (<InterfaceClass zope.app.container.interfaces.IAdding>,
+ (<InterfaceClass zope.browser.interfaces.IAdding>,
<InterfaceClass zope.publisher.interfaces.browser.IDefaultBrowserLayer>),
<InterfaceClass zope.app.publisher.interfaces.browser.AddMenu>,
'Add an X',
@@ -175,8 +173,7 @@
{}),
(None,
<function provideInterface>,
- ('',
- <InterfaceClass zope.app.container.interfaces.IAdding>),
+ ('', <InterfaceClass zope.browser.interfaces.IAdding>),
{}),
(None,
<function provideInterface>,
@@ -209,19 +206,19 @@
{}),
(None,
<function _checkViewFor>,
- (<InterfaceClass zope.app.container.interfaces.IAdding>,
+ (<InterfaceClass zope.browser.interfaces.IAdding>,
<InterfaceClass zope.publisher.interfaces.browser.IDefaultBrowserLayer>,
'AddX'),
{}),
(('adapter',
- (<InterfaceClass zope.app.container.interfaces.IAdding>,
+ (<InterfaceClass zope.browser.interfaces.IAdding>,
<InterfaceClass zope.publisher.interfaces.browser.IDefaultBrowserLayer>),
<InterfaceClass zope.app.publisher.interfaces.browser.AddMenu>,
'Add an X'),
<function handler>,
('registerAdapter',
<zope.app.publisher.browser.menumeta.MenuItemFactory object>,
- (<InterfaceClass zope.app.container.interfaces.IAdding>,
+ (<InterfaceClass zope.browser.interfaces.IAdding>,
<InterfaceClass zope.publisher.interfaces.browser.IDefaultBrowserLayer>),
<InterfaceClass zope.app.publisher.interfaces.browser.AddMenu>,
'Add an X',
@@ -234,8 +231,7 @@
{}),
(None,
<function provideInterface>,
- ('',
- <InterfaceClass zope.app.container.interfaces.IAdding>),
+ ('', <InterfaceClass zope.browser.interfaces.IAdding>),
{}),
(None,
<function provideInterface>,
@@ -295,14 +291,14 @@
... filter="context/foo")
>>> context
((('adapter',
- (<InterfaceClass zope.app.container.interfaces.IAdding>,
+ (<InterfaceClass zope.browser.interfaces.IAdding>,
<InterfaceClass zope.app.publisher.browser.tests.test_addMenuItem.ILayerStub>),
<InterfaceClass zope.app.publisher.interfaces.browser.AddMenu>,
'Add an X'),
<function handler>,
('registerAdapter',
<zope.app.publisher.browser.menumeta.MenuItemFactory object>,
- (<InterfaceClass zope.app.container.interfaces.IAdding>,
+ (<InterfaceClass zope.browser.interfaces.IAdding>,
<InterfaceClass zope.app.publisher.browser.tests.test_addMenuItem.ILayerStub>),
<InterfaceClass zope.app.publisher.interfaces.browser.AddMenu>,
'Add an X',
@@ -315,8 +311,7 @@
{}),
(None,
<function provideInterface>,
- ('',
- <InterfaceClass zope.app.container.interfaces.IAdding>),
+ ('', <InterfaceClass zope.browser.interfaces.IAdding>),
{}),
(None,
<function provideInterface>,
@@ -377,14 +372,14 @@
... order=99)
>>> context
((('adapter',
- (<InterfaceClass zope.app.container.interfaces.IAdding>,
+ (<InterfaceClass zope.browser.interfaces.IAdding>,
<InterfaceClass zope.publisher.interfaces.browser.IDefaultBrowserLayer>),
<InterfaceClass zope.app.publisher.interfaces.browser.AddMenu>,
'Add an X'),
<function handler>,
('registerAdapter',
<zope.app.publisher.browser.menumeta.MenuItemFactory object>,
- (<InterfaceClass zope.app.container.interfaces.IAdding>,
+ (<InterfaceClass zope.browser.interfaces.IAdding>,
<InterfaceClass zope.publisher.interfaces.browser.IDefaultBrowserLayer>),
<InterfaceClass zope.app.publisher.interfaces.browser.AddMenu>,
'Add an X',
@@ -397,8 +392,7 @@
{}),
(None,
<function provideInterface>,
- ('',
- <InterfaceClass zope.app.container.interfaces.IAdding>),
+ ('', <InterfaceClass zope.browser.interfaces.IAdding>),
{}),
(None,
<function provideInterface>,
More information about the Checkins
mailing list