aboutsummaryrefslogtreecommitdiffstats
path: root/tests/base.py
diff options
context:
space:
mode:
authorGravatar Eivind Teig <[email protected]>2020-03-30 11:54:50 +0200
committerGravatar GitHub <[email protected]>2020-03-30 11:54:50 +0200
commitfb2de332c8b95c04e1ce7b41cd8336b594d13524 (patch)
tree18b44c5b1ad5cea36a8f179fae9c301263e61b11 /tests/base.py
parentAdd tests for `HushDurationConverter`. (diff)
parentMerge pull request #849 from ks129/webhook-match (diff)
Merge branch 'master' into hush-cog
Diffstat (limited to 'tests/base.py')
-rw-r--r--tests/base.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/base.py b/tests/base.py
index 42174e911..d99b9ac31 100644
--- a/tests/base.py
+++ b/tests/base.py
@@ -31,7 +31,7 @@ class LoggingTestsMixin:
"""
@contextmanager
- def assertNotLogs(self, logger=None, level=None, msg=None):
+ def assertNotLogs(self, logger=None, level=None, msg=None): # noqa: N802
"""
Asserts that no logs of `level` and higher were emitted by `logger`.
@@ -81,7 +81,7 @@ class LoggingTestsMixin:
class CommandTestCase(unittest.IsolatedAsyncioTestCase):
"""TestCase with additional assertions that are useful for testing Discord commands."""
- async def assertHasPermissionsCheck(
+ async def assertHasPermissionsCheck( # noqa: N802
self,
cmd: commands.Command,
permissions: Dict[str, bool],