aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorGravatar ks129 <[email protected]>2020-06-11 11:49:00 +0300
committerGravatar ks129 <[email protected]>2020-06-11 11:49:00 +0300
commitb129658bf260d458d5fad5925e945c78f881388a (patch)
tree23f0c8bd3c7e68ba50fc8f9f0673041b8ebe5bf5 /tests
parentJam Tests: Implement default arguments (diff)
Jam Tests: Remove unnecessary `Context` mock resets
Diffstat (limited to 'tests')
-rw-r--r--tests/bot/cogs/test_jams.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/tests/bot/cogs/test_jams.py b/tests/bot/cogs/test_jams.py
index 94be8dd03..0f8ba3574 100644
--- a/tests/bot/cogs/test_jams.py
+++ b/tests/bot/cogs/test_jams.py
@@ -39,7 +39,6 @@ class JamCreateTeamTests(unittest.IsolatedAsyncioTestCase):
async def test_duplicate_members_provided(self):
"""Should `ctx.send` and exit early because duplicate members provided and total there is only 1 member."""
- self.ctx.reset_mock()
member = MockMember()
await self.cog.createteam(*self.default_args, (member for _ in range(5)))
self.ctx.send.assert_awaited_once()
@@ -124,7 +123,6 @@ class JamCreateTeamTests(unittest.IsolatedAsyncioTestCase):
async def test_result_sending(self):
"""Should call `ctx.send` when everything goes right."""
- self.ctx.reset_mock()
members = [MockMember() for _ in range(5)]
await self.cog.createteam(self.cog, self.ctx, "foo", members)
self.ctx.send.assert_awaited_once()