aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorGravatar ks129 <[email protected]>2020-04-03 19:49:36 +0300
committerGravatar ks129 <[email protected]>2020-04-03 19:49:36 +0300
commit41f3dfa1a93e0850c6120e5979f9a8a52386c516 (patch)
tree910a8d3ee4b91a02bc313e8fb4113f51a47b8852 /tests
parent(Talent Pool, discord.py 1.3.x Migrations): Replaced `help` command getting w... (diff)
(Snekbox Tests, discord.py 1.3.x Migrations): Fixed wrong assertion of help command call.
Diffstat (limited to 'tests')
-rw-r--r--tests/bot/cogs/test_snekbox.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/bot/cogs/test_snekbox.py b/tests/bot/cogs/test_snekbox.py
index d84e5accf..bcb3550f8 100644
--- a/tests/bot/cogs/test_snekbox.py
+++ b/tests/bot/cogs/test_snekbox.py
@@ -211,7 +211,7 @@ class SnekboxTests(unittest.IsolatedAsyncioTestCase):
ctx = MockContext()
ctx.invoke = AsyncMock()
await self.cog.eval_command(self.cog, ctx=ctx, code='')
- ctx.invoke.assert_called_once_with(self.bot.get_command("help"), "eval")
+ ctx.send_help.assert_called_once_with("eval")
async def test_send_eval(self):
"""Test the send_eval function."""