Commits

Olemis Lang committed 9234fb9

GViz providers : Fix test cases raising PermissionError ... (failures=8, errors=30)

  • Participants
  • Parent commits e9a0d65
  • Branches providers

Comments (0)

Files changed (1)

File trac-dev/gviz/tracgviz/testing/test_rpc.py

       >>> auth_req.perm.require('REPORT_CREATE') 
       Traceback (most recent call last):
         ...
-      PermissionError: REPORT_CREATE privileges are required to perform this operation
+      PermissionError
+
       >>> 'REPORT_CREATE' in auth_req.perm
       False
       >>> auth_rpcobj.create('RiP Query', 'Never gets created', \
       ...                     'query:owner=murphy')
       Traceback (most recent call last):
         ...
-      PermissionError: REPORT_CREATE privileges are required to perform this operation
+      PermissionError
       """,
     '|report: Require REPORT_SQL_VIEW to view report definition' : r"""
       >>> clear_perm_cache(env, req)    # Start clean
       >>> req.perm.require('REPORT_SQL_VIEW') # Check perm revoked
       Traceback (most recent call last):
         ...
-      PermissionError: REPORT_SQL_VIEW privileges are required to perform this operation
+      PermissionError
+
       >>> 'REPORT_SQL_VIEW' in req.perm
       False
       >>> print_report_metadata(rpcobj.get(1))