aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar ks129 <[email protected]>2020-06-24 15:29:52 +0300
committerGravatar ks129 <[email protected]>2020-06-24 15:29:52 +0300
commit9b1538878221c966b62dc5c9d0be2af1fd475325 (patch)
tree2d208b44634a710dbca5973eb4908033f84f5fe6
parentAdd other parameters to `test_post_user` `not_user` mock (diff)
Fix test case key name in `test_notify_infraction`
-rw-r--r--tests/bot/cogs/moderation/test_utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/bot/cogs/moderation/test_utils.py b/tests/bot/cogs/moderation/test_utils.py
index f89f41d25..c4d0d6f16 100644
--- a/tests/bot/cogs/moderation/test_utils.py
+++ b/tests/bot/cogs/moderation/test_utils.py
@@ -176,7 +176,7 @@ class ModerationUtilsTests(unittest.IsolatedAsyncioTestCase):
embed = send_private_embed_mock.call_args[0][1]
- self.assertEqual(embed.to_dict(), case["expected"].to_dict())
+ self.assertEqual(embed.to_dict(), case["expected_output"].to_dict())
send_private_embed_mock.assert_awaited_once_with(case["args"][0], embed)