diff options
| author | 2020-03-13 17:42:39 +0000 | |
|---|---|---|
| committer | 2020-03-13 17:42:39 +0000 | |
| commit | 897b378a09c1a058f10a92aa23c21e2f737e6819 (patch) | |
| tree | 04ae4ee2a92b4c1c4a1092a8d0511649765f46a9 /tests | |
| parent | (Moderation Utils Tests): Fixed formatting in `notify_pardon` test. (diff) | |
(Moderation Utils Tests): Removed Infraction Color constant.
Diffstat (limited to '')
| -rw-r--r-- | tests/bot/cogs/moderation/test_utils.py | 9 | 
1 files changed, 4 insertions, 5 deletions
| diff --git a/tests/bot/cogs/moderation/test_utils.py b/tests/bot/cogs/moderation/test_utils.py index 2e4c31836..f30e85b12 100644 --- a/tests/bot/cogs/moderation/test_utils.py +++ b/tests/bot/cogs/moderation/test_utils.py @@ -14,7 +14,6 @@ APPEAL_EMAIL = "[email protected]"  INFRACTION_TITLE = f"Please review our rules over at {utils.RULES_URL}"  INFRACTION_APPEAL_FOOTER = f"To appeal this infraction, send an e-mail to {APPEAL_EMAIL}"  INFRACTION_AUTHOR_NAME = "Infraction information" -INFRACTION_COLOR = Colours.soft_red  INFRACTION_DESCRIPTION_TEMPLATE = (      "\n**Type:** {type}\n" @@ -91,7 +90,7 @@ class ModerationUtilsTests(unittest.IsolatedAsyncioTestCase):                          expires="2020-02-26 09:20 (23 hours and 59 minutes)",                          reason="No reason provided."                      ), -                    colour=INFRACTION_COLOR, +                    colour=Colours.soft_red,                      url=utils.RULES_URL                  ).set_author(                      name=INFRACTION_AUTHOR_NAME, @@ -109,7 +108,7 @@ class ModerationUtilsTests(unittest.IsolatedAsyncioTestCase):                          expires="N/A",                          reason="Test reason."                      ), -                    colour=INFRACTION_COLOR, +                    colour=Colours.soft_red,                      url=utils.RULES_URL                  ).set_author(                      name=INFRACTION_AUTHOR_NAME, @@ -127,7 +126,7 @@ class ModerationUtilsTests(unittest.IsolatedAsyncioTestCase):                          expires="N/A",                          reason="No reason provided."                      ), -                    colour=INFRACTION_COLOR, +                    colour=Colours.soft_red,                      url=utils.RULES_URL                  ).set_author(                      name=INFRACTION_AUTHOR_NAME, @@ -145,7 +144,7 @@ class ModerationUtilsTests(unittest.IsolatedAsyncioTestCase):                          expires="2020-02-26 09:20 (23 hours and 59 minutes)",                          reason="Test"                      ), -                    colour=INFRACTION_COLOR, +                    colour=Colours.soft_red,                      url=utils.RULES_URL                  ).set_author(                      name=INFRACTION_AUTHOR_NAME, | 
