diff options
| author | 2020-03-12 22:25:41 +0530 | |
|---|---|---|
| committer | 2020-03-12 22:25:41 +0530 | |
| commit | 9bc6744f39cddf90df6a21e110a44359c8cd502b (patch) | |
| tree | cf5b898df914288f154193661a80ffddd538bdd9 /tests/bot | |
| parent | remove repetitive file search (diff) | |
| parent | Merge pull request #822 from python-discord/bug/mod/792/null-attachments (diff) | |
Merge branch 'master' into tags_overhaul
Diffstat (limited to 'tests/bot')
| -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 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.""" |