aboutsummaryrefslogtreecommitdiffstats
path: root/tests/helpers.py
diff options
context:
space:
mode:
authorGravatar Sebastiaan Zeeff <[email protected]>2020-04-20 18:57:12 +0200
committerGravatar Sebastiaan Zeeff <[email protected]>2020-04-23 16:15:18 +0200
commit57e69925af9a941dfe32acc0431a9699eda027f5 (patch)
treea9663af1226f1a7fe8a884e568bbcaa5b237e868 /tests/helpers.py
parentRemove vestigial kwargs from MockTextChannel.__init__ (diff)
Add tests for `in_whitelisted_context` decorator
I have added tests for the new `in_whitelisted_context` decorator. They work by calling the decorator with different kwargs to generate a specific predicate callable. That callable is then called to assess if it comes to the right conclusion.
Diffstat (limited to 'tests/helpers.py')
0 files changed, 0 insertions, 0 deletions