diff options
author | 2020-06-20 13:15:43 +0200 | |
---|---|---|
committer | 2020-06-20 13:15:43 +0200 | |
commit | 20dbd177f227511b9c3cb678ab45a67558cd3d7f (patch) | |
tree | a132f8e5e6024de2c1fb39f6c9b671be329aa6db | |
parent | Incidents: try-except Signal creation (diff) |
Incidents tests: remove unnecessary patch
This is already being patched at class-level.
-rw-r--r-- | tests/bot/cogs/moderation/test_incidents.py | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/tests/bot/cogs/moderation/test_incidents.py b/tests/bot/cogs/moderation/test_incidents.py index 862736785..9f0553216 100644 --- a/tests/bot/cogs/moderation/test_incidents.py +++ b/tests/bot/cogs/moderation/test_incidents.py @@ -360,7 +360,6 @@ class TestMakeConfirmationTask(TestIncidents): class TestProcessEvent(TestIncidents): """Tests for the `Incidents.process_event` coroutine.""" - @patch("bot.cogs.moderation.incidents.ALLOWED_ROLES", {1, 2}) async def test_process_event_bad_role(self): """The reaction is removed when the author lacks all allowed roles.""" incident = MockMessage() |