Commit f1e4e1c3 authored by Jérome Perrin's avatar Jérome Perrin

tests/SecurityTestCase: sort groups in assertion failure message

This is a bit easier to read
parent 74157942
...@@ -76,7 +76,7 @@ class AssertPermissionMethod(object): ...@@ -76,7 +76,7 @@ class AssertPermissionMethod(object):
document.rolesOfPermission(self._permission_name) document.rolesOfPermission(self._permission_name)
if x['selected']]), if x['selected']]),
pformat(document.get_local_roles()), pformat(document.get_local_roles()),
', '.join(groups))) ', '.join(sorted(groups))))
finally: finally:
setSecurityManager(sm) setSecurityManager(sm)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment