[Zope3-checkins] SVN: Zope3/branches/jim-adapter/src/zope/app/apidoc/ifacemodule/ftests.py Use examples from apidoc itself so as not to cause spurious errors

Jim Fulton jim at zope.com
Tue Apr 18 19:55:43 EDT 2006


Log message for revision 67094:
  Use examples from apidoc itself so as not to cause spurious errors
  when other packages change.
  

Changed:
  U   Zope3/branches/jim-adapter/src/zope/app/apidoc/ifacemodule/ftests.py

-=-
Modified: Zope3/branches/jim-adapter/src/zope/app/apidoc/ifacemodule/ftests.py
===================================================================
--- Zope3/branches/jim-adapter/src/zope/app/apidoc/ifacemodule/ftests.py	2006-04-18 23:55:38 UTC (rev 67093)
+++ Zope3/branches/jim-adapter/src/zope/app/apidoc/ifacemodule/ftests.py	2006-04-18 23:55:40 UTC (rev 67094)
@@ -25,11 +25,11 @@
         response = self.publish(
             '/++apidoc++/Interface/menu.html',
             basic='mgr:mgrpw',
-            env = {'name_only': True, 'search_str': 'IComponent'})
+            env = {'name_only': True, 'search_str': 'IDoc'})
         self.assertEqual(response.getStatus(), 200)
         body = response.getBody()
         self.assert_(body.find(
-            'zope.app.component.interfaces.registration.IComponent') > 0)
+            'zope.app.apidoc.interfaces.IDocumentationModule') > 0)
         self.checkForBrokenLinks(body, '/++apidoc++/Interface/menu.html',
                                  basic='mgr:mgrpw')
 



More information about the Zope3-Checkins mailing list