diff options
author | 2020-04-20 18:57:12 +0200 | |
---|---|---|
committer | 2020-04-23 16:15:18 +0200 | |
commit | 57e69925af9a941dfe32acc0431a9699eda027f5 (patch) | |
tree | a9663af1226f1a7fe8a884e568bbcaa5b237e868 /tests/helpers.py | |
parent | Remove 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