aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorGravatar Shivansh-007 <[email protected]>2021-03-06 17:28:32 +0530
committerGravatar Shivansh-007 <[email protected]>2021-10-11 12:05:32 +0530
commit6f3210dde67b1bcfa1c7c9c96c86f76d36af69f1 (patch)
treeec1bcefc0a8c9f9b3dc19751bd72623900209279 /tests
parentAllign comments to maintain readability (diff)
Ignore N802 in 'asyncSetUp' and 'asyncTearDown' function in test_incidents.py
Diffstat (limited to 'tests')
-rw-r--r--tests/bot/exts/moderation/test_incidents.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/bot/exts/moderation/test_incidents.py b/tests/bot/exts/moderation/test_incidents.py
index 239f86e6f..c015951b3 100644
--- a/tests/bot/exts/moderation/test_incidents.py
+++ b/tests/bot/exts/moderation/test_incidents.py
@@ -291,12 +291,12 @@ class TestIncidents(unittest.IsolatedAsyncioTestCase):
with await self.session.pool as connection:
await connection.flushall()
- async def asyncSetUp(self):
+ async def asyncSetUp(self): # noqa: N802
self.session = RedisSession(use_fakeredis=True)
await self.session.connect()
await self.flush()
- async def asyncTearDown(self):
+ async def asyncTearDown(self): # noqa: N802
if self.session:
await self.session.close()