aboutsummaryrefslogtreecommitdiffstats
path: root/tests/bot
diff options
context:
space:
mode:
authorGravatar RohanJnr <[email protected]>2020-03-12 22:34:00 +0530
committerGravatar RohanJnr <[email protected]>2020-03-12 22:34:00 +0530
commitd56639c721243713fc707502fe057d7eae045e21 (patch)
treeb6c1a4ff56ae3c2596502cde5b2528b657e267f7 /tests/bot
parentconvert get_tags() method to staticmethod (diff)
parentMerge branch 'master' into tags_overhaul (diff)
Merge branch 'tags_overhaul' of https://github.com/RohanJnr/bot into tags_overhaul
Diffstat (limited to 'tests/bot')
-rw-r--r--tests/bot/cogs/test_information.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/bot/cogs/test_information.py b/tests/bot/cogs/test_information.py
index 5693d2946..3c26374f5 100644
--- a/tests/bot/cogs/test_information.py
+++ b/tests/bot/cogs/test_information.py
@@ -45,10 +45,9 @@ class InformationCogTests(unittest.TestCase):
_, kwargs = self.ctx.send.call_args
embed = kwargs.pop('embed')
- self.assertEqual(embed.title, "Role information")
+ self.assertEqual(embed.title, "Role information (Total 1 role)")
self.assertEqual(embed.colour, discord.Colour.blurple())
- self.assertEqual(embed.description, f"`{self.moderator_role.id}` - {self.moderator_role.mention}\n")
- self.assertEqual(embed.footer.text, "Total roles: 1")
+ self.assertEqual(embed.description, f"\n`{self.moderator_role.id}` - {self.moderator_role.mention}\n")
def test_role_info_command(self):
"""Tests the `role info` command."""