diff options
| author | 2020-03-05 15:26:35 +0200 | |
|---|---|---|
| committer | 2020-03-05 15:26:35 +0200 | |
| commit | 9211baaf987277b115bd1e2092f69f29389ac887 (patch) | |
| tree | f8088a28eef90cee06c68617e56e7d2e6a5c4828 /tests | |
| parent | (Moderation Utils Tests): Moved `has_active_infraction` tests to one test. (diff) | |
(Moderation Utils Tests): Removed unnecessary `AsyncMock()` from `__init__` (`self.bot.api_client.get`)
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/bot/cogs/moderation/test_utils.py | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/tests/bot/cogs/moderation/test_utils.py b/tests/bot/cogs/moderation/test_utils.py index 18794136c..60d7efa5e 100644 --- a/tests/bot/cogs/moderation/test_utils.py +++ b/tests/bot/cogs/moderation/test_utils.py @@ -37,7 +37,6 @@ class ModerationUtilsTests(unittest.IsolatedAsyncioTestCase): self.member = MockMember(id=1234) self.user = MockUser(id=1234) self.ctx = MockContext(bot=self.bot, author=self.member) - self.bot.api_client.get = AsyncMock() async def test_user_has_active_infraction(self): """Test does `has_active_infraction` return correct value.""" |