aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorGravatar MarkKoz <[email protected]>2020-09-05 20:08:59 -0700
committerGravatar MarkKoz <[email protected]>2020-09-06 14:46:14 -0700
commitb0a2ebb87986856240b5e20967424d035998ac77 (patch)
tree3aa2fb89668742c51631a162157f83e8ca190fb2 /tests
parentImplement the without_role decorator by negating has_any_role (diff)
Use has_any_role's predicate directly
In some places, it's more appropriate than using with_role_check since it will raise CheckFailures. This applies to `cog_check`s and other things which effectively act as command checks.
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions