[Zope3-checkins] SVN: Zope3/trunk/src/zope/app/securitypolicy/browser/ftests.py Fixed a functional test that broke when I changed some wording and

Jim Fulton jim at zope.com
Wed Aug 11 16:48:38 EDT 2004


Log message for revision 27037:
  Fixed a functional test that broke when I changed some wording and
  didn't realize that I was only running unit tests.
  


Changed:
  U   Zope3/trunk/src/zope/app/securitypolicy/browser/ftests.py


-=-
Modified: Zope3/trunk/src/zope/app/securitypolicy/browser/ftests.py
===================================================================
--- Zope3/trunk/src/zope/app/securitypolicy/browser/ftests.py	2004-08-11 20:47:15 UTC (rev 27036)
+++ Zope3/trunk/src/zope/app/securitypolicy/browser/ftests.py	2004-08-11 20:48:38 UTC (rev 27037)
@@ -81,7 +81,9 @@
             basic='mgr:mgrpw')
         self.assertEqual(response.getStatus(), 200)
         body = response.getBody()
-        self.assert_('Permissions assigned to the role' in body)
+        self.assert_(
+            'This page shows the permissions allowed and denied the role'
+            in body)
         self.assert_('Allow' in body)
         self.assert_('Deny' in body)
         self.checkForBrokenLinks(body, '/@@RolesPermissions.html',



More information about the Zope3-Checkins mailing list