diff options
| author | 2020-03-05 23:34:44 +1000 | |
|---|---|---|
| committer | 2020-03-05 23:34:44 +1000 | |
| commit | 5c0cef2b27c29473f1b42eab561e7f6a791e5261 (patch) | |
| tree | 94c5548e36d9e661e63164bf300c026ca6cd0d8b /tests | |
| parent | Merge pull request #814 from python-discord/antimalware-logging (diff) | |
| parent | Merge branch 'master' into roles-command-pagination (diff) | |
Merge pull request #807 from ks129/roles-command-pagination
Added Pagination to !roles command
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 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.""" |