diff options
| author | 2020-03-03 16:21:53 +0200 | |
|---|---|---|
| committer | 2020-03-03 16:21:53 +0200 | |
| commit | 81711d77750be55a62a927b1c90f0eaf773e0567 (patch) | |
| tree | 6061d4f2e40eb7201a6accc2ea7f93c50cded297 /tests | |
| parent | Adding helpers to the Filtering whitelist (diff) | |
Created file for moderation utils tests + added setUp to this.
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/bot/cogs/moderation/test_utils.py | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/bot/cogs/moderation/test_utils.py b/tests/bot/cogs/moderation/test_utils.py new file mode 100644 index 000000000..ed1d1ed59 --- /dev/null +++ b/tests/bot/cogs/moderation/test_utils.py @@ -0,0 +1,12 @@ +import unittest + + +from tests.helpers import MockBot, MockContext + + +class ModerationUtilsTests(unittest.TestCase): + """Tests Moderation utils.""" + + def setUp(self) -> None: + self.bot = MockBot() + self.ctx = MockContext(bot=self.bot) |