diff options
| author | 2021-07-02 10:29:13 +0200 | |
|---|---|---|
| committer | 2021-07-02 10:29:13 +0200 | |
| commit | 6f45d6896adb3f05962733cec8e5db199def20bc (patch) | |
| tree | 6d3d82bd4cc35bd6bc60b0300a10fa5717b5b650 /tests | |
| parent | Merge pull request #1661 from python-discord/remove-pixels-token-detection (diff) | |
Bump embed limit to 4096 characters
Diffstat (limited to '')
| -rw-r--r-- | tests/bot/exts/moderation/infraction/test_utils.py | 2 | ||||
| -rw-r--r-- | tests/bot/exts/moderation/test_modlog.py | 2 | 
2 files changed, 2 insertions, 2 deletions
| diff --git a/tests/bot/exts/moderation/infraction/test_utils.py b/tests/bot/exts/moderation/infraction/test_utils.py index 50a717bb5..c6ae76984 100644 --- a/tests/bot/exts/moderation/infraction/test_utils.py +++ b/tests/bot/exts/moderation/infraction/test_utils.py @@ -213,7 +213,7 @@ class ModerationUtilsTests(unittest.IsolatedAsyncioTestCase):                          type="Mute",                          expires="N/A",                          reason="foo bar" * 4000 -                    )[:2045] + "...", +                    )[:4093] + "...",                      colour=Colours.soft_red,                      url=utils.RULES_URL                  ).set_author( diff --git a/tests/bot/exts/moderation/test_modlog.py b/tests/bot/exts/moderation/test_modlog.py index f8f142484..79e04837d 100644 --- a/tests/bot/exts/moderation/test_modlog.py +++ b/tests/bot/exts/moderation/test_modlog.py @@ -25,5 +25,5 @@ class ModLogTests(unittest.IsolatedAsyncioTestCase):          )          embed = self.channel.send.call_args[1]["embed"]          self.assertEqual( -            embed.description, ("foo bar" * 3000)[:2045] + "..." +            embed.description, ("foo bar" * 3000)[:4093] + "..."          ) | 
