[Zope3-checkins] CVS: Zope3/src/zope/app/container/browser/tests - test_directive.py:1.2

Jim Fulton jim at zope.com
Mon Mar 15 15:41:42 EST 2004


Update of /cvs-repository/Zope3/src/zope/app/container/browser/tests
In directory cvs.zope.org:/tmp/cvs-serv3046/src/zope/app/container/browser/tests

Modified Files:
	test_directive.py 
Log Message:
Updated to reflect changes in the view directive.


=== Zope3/src/zope/app/container/browser/tests/test_directive.py 1.1 => 1.2 ===
--- Zope3/src/zope/app/container/browser/tests/test_directive.py:1.1	Sat Mar 13 21:17:03 2004
+++ Zope3/src/zope/app/container/browser/tests/test_directive.py	Mon Mar 15 15:41:41 2004
@@ -49,7 +49,9 @@
        'zmi_views',
        <InterfaceClass zope.app.container.browser.tests.test_directive.I>,
        u'Contents'),
-      <bound method GlobalBrowserMenuService.menuItem of <zope.app.publisher.browser.globalbrowsermenuservice.GlobalBrowserMenuService object>>,
+      <bound method GlobalBrowserMenuService.menuItem of """ \
+            """<zope.app.publisher.browser.globalbrowsermenuservice.""" \
+            """GlobalBrowserMenuService object>>,
       ('zmi_views',
        <InterfaceClass zope.app.container.browser.tests.test_directive.I>,
        '@@contents.html',
@@ -63,7 +65,7 @@
       (None, 'zope.ManageContent')),
      (None,
       <function provideInterface>,
-      (None,
+      ('',
        <InterfaceClass zope.app.container.browser.tests.test_directive.I>)),
      (('view',
        <InterfaceClass zope.app.container.browser.tests.test_directive.I>,
@@ -72,11 +74,12 @@
        'default'),
       <function handler>,
       ('Presentation',
-       'provideView',
-       <InterfaceClass zope.app.container.browser.tests.test_directive.I>,
-       'contents.html',
+       'provideAdapter',
        <InterfaceClass zope.publisher.interfaces.browser.IBrowserRequest>,
-       [<class 'zope.app.publisher.browser.viewmeta.Contents'>],
+       <class 'zope.app.publisher.browser.viewmeta.Contents'>,
+       'contents.html',
+       [<InterfaceClass zope.app.container.browser.tests.test_directive.I>],
+       <InterfaceClass zope.interface.Interface>,
        'default')),
      (None,
       <function _handle_usage_from_menu>,
@@ -87,7 +90,7 @@
       (None, 'zope.View')),
      (None,
       <function provideInterface>,
-      (None,
+      ('',
        <InterfaceClass zope.app.container.browser.tests.test_directive.I>)),
      (('view',
        <InterfaceClass zope.app.container.browser.tests.test_directive.I>,
@@ -96,17 +99,20 @@
        'default'),
       <function handler>,
       ('Presentation',
-       'provideView',
-       <InterfaceClass zope.app.container.browser.tests.test_directive.I>,
-       'index.html',
+       'provideAdapter',
        <InterfaceClass zope.publisher.interfaces.browser.IBrowserRequest>,
-       [<class 'zope.app.publisher.browser.viewmeta.Contents'>],
+       <class 'zope.app.publisher.browser.viewmeta.Contents'>,
+       'index.html',
+       [<InterfaceClass zope.app.container.browser.tests.test_directive.I>],
+       <InterfaceClass zope.interface.Interface>,
        'default')),
      (('browser:menuItem',
        'zmi_actions',
        <InterfaceClass zope.app.container.browser.tests.test_directive.I>,
        u'Add'),
-      <bound method GlobalBrowserMenuService.menuItem of <zope.app.publisher.browser.globalbrowsermenuservice.GlobalBrowserMenuService object>>,
+      <bound method GlobalBrowserMenuService.menuItem of """ \
+             """<zope.app.publisher.browser.globalbrowsermenuservice.""" \
+             """GlobalBrowserMenuService object>>,
       ('zmi_actions',
        <InterfaceClass zope.app.container.browser.tests.test_directive.I>,
        '@@+',
@@ -120,27 +126,26 @@
       (None, 'zope.ManageContent')),
      (None,
       <function provideInterface>,
-      (None,
+      ('',
        <InterfaceClass zope.app.container.browser.tests.test_directive.I>)),
      (None,
       <function provideInterface>,
-      ('zope.interface.Interface',
-       <InterfaceClass zope.interface.Interface>)),
+      ('', <InterfaceClass zope.interface.Interface>)),
      (('view',
-       <InterfaceClass zope.app.container.browser.tests.test_directive.I>,
+       (<InterfaceClass zope.app.container.browser.tests.test_directive.I>,),
        '+',
        <InterfaceClass zope.publisher.interfaces.browser.IBrowserRequest>,
        'default',
        <InterfaceClass zope.interface.Interface>),
       <function handler>,
       ('Presentation',
-       'provideView',
-       <InterfaceClass zope.app.container.browser.tests.test_directive.I>,
-       '+',
+       'provideAdapter',
        <InterfaceClass zope.publisher.interfaces.browser.IBrowserRequest>,
-       [<class 'zope.app.publisher.browser.viewmeta.+'>],
-       'default',
-       <InterfaceClass zope.interface.Interface>)))
+       <class 'zope.app.publisher.browser.viewmeta.+'>,
+       '+',
+       [<InterfaceClass zope.app.container.browser.tests.test_directive.I>],
+       <InterfaceClass zope.interface.Interface>,
+       'default')))
 
     """
     




More information about the Zope3-Checkins mailing list