[Zope3-checkins] SVN: Zope3/trunk/src/zope/app/container/browser/tests/test_directive.py The presentation service is gone.

Stephan Richter srichter at cosmos.phy.tufts.edu
Fri Sep 17 12:15:48 EDT 2004


Log message for revision 27575:
  
  The presentation service is gone.
  
  Adjust this horrible test to contain the new directive signatures.
  
  


Changed:
  U   Zope3/trunk/src/zope/app/container/browser/tests/test_directive.py


-=-
Modified: Zope3/trunk/src/zope/app/container/browser/tests/test_directive.py
===================================================================
--- Zope3/trunk/src/zope/app/container/browser/tests/test_directive.py	2004-09-17 16:15:46 UTC (rev 27574)
+++ Zope3/trunk/src/zope/app/container/browser/tests/test_directive.py	2004-09-17 16:15:47 UTC (rev 27575)
@@ -70,16 +70,15 @@
        <InterfaceClass zope.app.container.browser.tests.test_directive.I>,
        'contents.html',
        <InterfaceClass zope.publisher.interfaces.browser.IBrowserRequest>,
-       'default'),
+       <InterfaceClass zope.publisher.interfaces.browser.IBrowserRequest>),
       <function handler>,
-      ('Presentation',
-       'provideAdapter',
-       <InterfaceClass zope.publisher.interfaces.browser.IBrowserRequest>,
-       <class 'zope.app.publisher.browser.viewmeta.Contents'>,
-       'contents.html',
-       [<InterfaceClass zope.app.container.browser.tests.test_directive.I>],
+      ('Adapters',
+       'register',
+       (<InterfaceClass zope.app.container.browser.tests.test_directive.I>,
+        <InterfaceClass zope.publisher.interfaces.browser.IBrowserRequest>),
        <InterfaceClass zope.interface.Interface>,
-       'default',
+       'contents.html',
+       <class 'zope.app.publisher.browser.viewmeta.Contents'>,
        'info')),
      (None,
       <function provideInterface>,
@@ -89,16 +88,15 @@
        <InterfaceClass zope.app.container.browser.tests.test_directive.I>,
        'index.html',
        <InterfaceClass zope.publisher.interfaces.browser.IBrowserRequest>,
-       'default'),
+       <InterfaceClass zope.publisher.interfaces.browser.IBrowserRequest>),
       <function handler>,
-      ('Presentation',
-       'provideAdapter',
-       <InterfaceClass zope.publisher.interfaces.browser.IBrowserRequest>,
-       <class 'zope.app.publisher.browser.viewmeta.Contents'>,
-       'index.html',
-       [<InterfaceClass zope.app.container.browser.tests.test_directive.I>],
+      ('Adapters',
+       'register',
+       (<InterfaceClass zope.app.container.browser.tests.test_directive.I>,
+        <InterfaceClass zope.publisher.interfaces.browser.IBrowserRequest>),
        <InterfaceClass zope.interface.Interface>,
-       'default',
+       'index.html',
+       <class 'zope.app.publisher.browser.viewmeta.Contents'>,
        'info')),
      (('browser:menuItem',
        'zmi_actions',
@@ -124,20 +122,18 @@
        <InterfaceClass zope.app.container.browser.tests.test_directive.I>,
        '+',
        <InterfaceClass zope.publisher.interfaces.browser.IBrowserRequest>,
-       'default',
+       <InterfaceClass zope.publisher.interfaces.browser.IBrowserRequest>,
        <InterfaceClass zope.interface.Interface>),
       <function handler>,
-      ('Presentation',
-       'provideAdapter',
-       <InterfaceClass zope.publisher.interfaces.browser.IBrowserRequest>,
-       <class 'zope.app.publisher.browser.viewmeta.+'>,
-       '+',
-       [<InterfaceClass zope.app.container.browser.tests.test_directive.I>],
+      ('Adapters',
+       'register',
+       (<InterfaceClass zope.app.container.browser.tests.test_directive.I>,
+        <InterfaceClass zope.publisher.interfaces.browser.IBrowserRequest>),
        <InterfaceClass zope.interface.Interface>,
-       'default',
+       '+',
+       <class 'zope.app.publisher.browser.viewmeta.+'>,
        'info')))
     """
-    
        
 def test_suite():
     return unittest.TestSuite((



More information about the Zope3-Checkins mailing list