diff options
author | 2020-05-20 10:57:07 +0300 | |
---|---|---|
committer | 2020-05-20 10:57:07 +0300 | |
commit | 874cb001df91ea8223385dd2b32ab4e3c280e183 (patch) | |
tree | 7e9bc2056503f9aa02eeddc9589a8f29b7c003dc /tests | |
parent | ModLog Tests: Fix embed description truncate test (diff) |
Infr. Tests: Add more content to await comment
Diffstat (limited to 'tests')
-rw-r--r-- | tests/bot/cogs/moderation/test_infractions.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/bot/cogs/moderation/test_infractions.py b/tests/bot/cogs/moderation/test_infractions.py index 2b1ff5728..f8f340c2e 100644 --- a/tests/bot/cogs/moderation/test_infractions.py +++ b/tests/bot/cogs/moderation/test_infractions.py @@ -34,7 +34,7 @@ class TruncationTests(unittest.IsolatedAsyncioTestCase): ban.cr_frame.f_locals["kwargs"]["reason"], textwrap.shorten("foo bar" * 3000, 512, placeholder="...") ) - # Await ban to avoid warning + # Await ban to avoid not awaited coroutine warning await ban @patch("bot.cogs.moderation.utils.post_infraction") @@ -51,5 +51,5 @@ class TruncationTests(unittest.IsolatedAsyncioTestCase): kick.cr_frame.f_locals["kwargs"]["reason"], textwrap.shorten("foo bar" * 3000, 512, placeholder="...") ) - # Await kick to avoid warning + # Await kick to avoid not awaited coroutine warning await kick |