diff options
author | 2020-03-01 09:35:34 +0200 | |
---|---|---|
committer | 2020-03-01 09:35:34 +0200 | |
commit | fc2224fc047fbbefdc17e3624ebc2854342c59c1 (patch) | |
tree | de306169c711dab2942cc5ef06e34691be8ec625 /tests | |
parent | !roles Command: Added pagination (LinePaginator), moved roles amount to title... (diff) |
!roles Command Test: Applied !roles command changes
Diffstat (limited to 'tests')
-rw-r--r-- | tests/bot/cogs/test_information.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/bot/cogs/test_information.py b/tests/bot/cogs/test_information.py index 8443cfe71..bb4ebd9d0 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 roles)") 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\n") def test_role_info_command(self): """Tests the `role info` command.""" |