[Checkins] SVN: z3c.securitytool/trunk/src/z3c/securitytool/README.txt Neutered the doctests for now, need to update after the re-factor

Daniel Blackburn blackburnd at gmail.com
Thu Feb 21 10:19:28 EST 2008


Log message for revision 84116:
  Neutered the doctests for now, need to update after the re-factor

Changed:
  U   z3c.securitytool/trunk/src/z3c/securitytool/README.txt

-=-
Modified: z3c.securitytool/trunk/src/z3c/securitytool/README.txt
===================================================================
--- z3c.securitytool/trunk/src/z3c/securitytool/README.txt	2008-02-21 15:17:55 UTC (rev 84115)
+++ z3c.securitytool/trunk/src/z3c/securitytool/README.txt	2008-02-21 15:19:28 UTC (rev 84116)
@@ -382,8 +382,8 @@
 
 
     >>> permDetails = PermissionDetails(firstIssue)
-    >>> permDetails.permissionDetails(daniel, 'takeOverTheWORLD',
-    ...                          [['viewName',settings]],[rolePermMap])
+
+        permDetails(daniel, 'takeOverTheWorld',IBrowserRequest)
     {'groups': {},
      'roles': {'Janitor': [{'setting': 'Allow', 'name': 'viewName'}]},
      'permissions': [{'setting': 'Allow', 'name': 'viewName'}]}
@@ -462,7 +462,7 @@
     >>> manager.open('http://localhost:8080/@@permissionDetails.html?'
     ...              'principal=daniel&view=PUT')
 
-    >>> 'zope.Public' in manager.contents
+    'zope.Public' in manager.contents
     True
 
 Ok lets send the command without the principal:



More information about the Checkins mailing list