devtools/testlib.py
branchstable
changeset 8480 086cff6a306a
parent 8463 a964c40adbe3
child 8497 7f71e366cb5e
--- a/devtools/testlib.py	Fri Jul 20 10:46:27 2012 +0200
+++ b/devtools/testlib.py	Fri Jul 20 10:25:55 2012 +0200
@@ -476,6 +476,7 @@
         * using positional argument(s):
 
           .. sourcecode:: python
+
                 rdef = self.schema['CWUser'].rdef('login')
                 with self.temporary_permissions((rdef, {'read': ()})):
                     ...
@@ -484,6 +485,7 @@
         * using named argument(s):
 
           .. sourcecode:: python
+
                 rdef = self.schema['CWUser'].rdef('login')
                 with self.temporary_permissions(CWUser={'read': ()}):
                     ...