aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/bot/cogs/moderation/test_utils.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/bot/cogs/moderation/test_utils.py b/tests/bot/cogs/moderation/test_utils.py
index 9afa5ab0b..e0af13a46 100644
--- a/tests/bot/cogs/moderation/test_utils.py
+++ b/tests/bot/cogs/moderation/test_utils.py
@@ -263,6 +263,7 @@ class ModerationUtilsTests(unittest.IsolatedAsyncioTestCase):
if not error:
self.bot.api_client.post.assert_awaited_once_with("bot/users", json=payload)
else:
+ self.ctx.send.assert_awaited_once()
self.assertTrue(str(error.status) in self.ctx.send.call_args[0][0])
async def test_send_private_embed(self):