aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorGravatar kwzrd <[email protected]>2020-06-20 13:15:43 +0200
committerGravatar kwzrd <[email protected]>2020-06-20 13:15:43 +0200
commit20dbd177f227511b9c3cb678ab45a67558cd3d7f (patch)
treea132f8e5e6024de2c1fb39f6c9b671be329aa6db /tests
parentIncidents: try-except Signal creation (diff)
Incidents tests: remove unnecessary patch
This is already being patched at class-level.
Diffstat (limited to 'tests')
-rw-r--r--tests/bot/cogs/moderation/test_incidents.py1
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()