diff options
| author | 2020-09-23 11:54:47 +0800 | |
|---|---|---|
| committer | 2020-09-23 11:54:47 +0800 | |
| commit | 185437573421e26b435c4294c34ecffd47aca014 (patch) | |
| tree | 7c8a31befe99a9a419fb1b2e3580233024f8ad8b /tests | |
| parent | Add extended information to !server. (diff) | |
Move number of roles to embed description.
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/bot/exts/info/test_information.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/bot/exts/info/test_information.py b/tests/bot/exts/info/test_information.py index b5c71f87c..38ffb2f16 100644 --- a/tests/bot/exts/info/test_information.py +++ b/tests/bot/exts/info/test_information.py @@ -156,6 +156,7 @@ class InformationCogTests(unittest.TestCase): Created: {time_since_patch.return_value} Voice region: {self.ctx.guild.region} Features: {', '.join(self.ctx.guild.features)} + Roles: {len(self.ctx.guild.roles) - 1} """ ) ) @@ -165,12 +166,11 @@ class InformationCogTests(unittest.TestCase): self.assertEqual(member_field.name, f"Members: {self.ctx.guild.member_count}") self.assertEqual( member_field.value, - textwrap.dedent(f""" + textwrap.dedent(""" Helpers: 0 Moderators: 0 Admins: 0 Contributors: 0 - Roles: {len(self.ctx.guild.roles) - 1} """).strip(), ) |