diff options
| author | 2020-03-13 07:27:50 +0000 | |
|---|---|---|
| committer | 2020-03-13 07:27:50 +0000 | |
| commit | 7806e11a017698ff43494a1fa1a908e11bb63e33 (patch) | |
| tree | 5e999226e483c8d193004bfa42645b03c1e7e62d | |
| parent | (Moderation Utils Tests): Added 2 call check to `post_infraction` test. (diff) | |
(Moderation Utils Tests): Removed unnecessary mock resetting.
| -rw-r--r-- | tests/bot/cogs/moderation/test_utils.py | 2 | 
1 files changed, 0 insertions, 2 deletions
diff --git a/tests/bot/cogs/moderation/test_utils.py b/tests/bot/cogs/moderation/test_utils.py index 659884d93..03f086ba9 100644 --- a/tests/bot/cogs/moderation/test_utils.py +++ b/tests/bot/cogs/moderation/test_utils.py @@ -361,8 +361,6 @@ class TestPostInfraction(unittest.IsolatedAsyncioTestCase):      @patch("bot.cogs.moderation.utils.post_user")      async def test_first_fail_second_success_user_post_infraction(self, post_user_mock):          """Should post the user if they don't exist, POST infraction again, and return the response if successful.""" -        self.bot.api_client.post.reset_mock() -          payload = {              "actor": self.ctx.message.author.id,              "hidden": False,  |