[Zope3-checkins] CVS: Zope3/src/zope/app/apidoc/browser - ftests.py:1.2

Stephan Richter srichter at cosmos.phy.tufts.edu
Tue Mar 30 18:04:50 EST 2004


Update of /cvs-repository/Zope3/src/zope/app/apidoc/browser
In directory cvs.zope.org:/tmp/cvs-serv21645/src/zope/app/apidoc/browser

Modified Files:
	ftests.py 
Log Message:
Fixed failing test. Even an innocent template change can make a functional 
test fail. So, always run tests afater a change.


=== Zope3/src/zope/app/apidoc/browser/ftests.py 1.1 => 1.2 ===
--- Zope3/src/zope/app/apidoc/browser/ftests.py:1.1	Sun Mar 28 18:39:16 2004
+++ Zope3/src/zope/app/apidoc/browser/ftests.py	Tue Mar 30 18:04:49 2004
@@ -55,7 +55,7 @@
         self.assertEqual(response.getStatus(), 200)
         body = response.getBody()
         self.assert_(body.find(
-            '<div class="apihead">Zope 3 API Docs</div>') > 0)
+            '<a href="contents.html" target="main">Zope 3 API Docs</a>') > 0)
         self.checkForBrokenLinks(body, '/++apidoc++/modulelist.html',
                                  basic='mgr:mgrpw')
         




More information about the Zope3-Checkins mailing list