aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorGravatar MarkKoz <[email protected]>2020-05-13 18:58:43 -0700
committerGravatar MarkKoz <[email protected]>2020-05-13 18:58:43 -0700
commit31aff51655d3783bc70f04628f189cf3c3591028 (patch)
tree54de2fc82b3c5b95f344a5430ca45c070177c97f /tests
parentUse subtests for valid ID/timestamp tests and test non-ASCII inputs (diff)
Fix a test needlessly being a coroutine
Diffstat (limited to 'tests')
-rw-r--r--tests/bot/cogs/test_token_remover.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/bot/cogs/test_token_remover.py b/tests/bot/cogs/test_token_remover.py
index f1a56c235..8e743a715 100644
--- a/tests/bot/cogs/test_token_remover.py
+++ b/tests/bot/cogs/test_token_remover.py
@@ -219,7 +219,7 @@ class TokenRemoverTests(unittest.IsolatedAsyncioTestCase):
)
@autospec("bot.cogs.token_remover", "LOG_MESSAGE")
- async def test_format_log_message(self, log_message):
+ def test_format_log_message(self, log_message):
"""Should correctly format the log message with info from the message and token."""
log_message.format.return_value = "Howdy"
return_value = TokenRemover.format_log_message(self.msg, "MTIz.DN9R_A.xyz")