diff options
author | 2021-01-20 15:46:00 -0800 | |
---|---|---|
committer | 2021-01-20 15:46:00 -0800 | |
commit | 04c3a18c2088cc0c495be6d6772a3184b52b1127 (patch) | |
tree | f926f29a9fbd0163cbf0d8573649f206450da5ed /tests | |
parent | Prevent bot from sending DMs to itself (diff) | |
parent | Merge branch 'master' into fuzz-the-matches (diff) |
Merge PR #1202 - fuzzy match the role command
Diffstat (limited to 'tests')
-rw-r--r-- | tests/bot/exts/info/test_information.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/bot/exts/info/test_information.py b/tests/bot/exts/info/test_information.py index d077be960..80731c9f0 100644 --- a/tests/bot/exts/info/test_information.py +++ b/tests/bot/exts/info/test_information.py @@ -65,7 +65,7 @@ class InformationCogTests(unittest.IsolatedAsyncioTestCase): permissions=discord.Permissions(0), ) - self.ctx.guild.roles.append([dummy_role, admin_role]) + self.ctx.guild.roles.extend([dummy_role, admin_role]) self.cog.role_info.can_run = unittest.mock.AsyncMock() self.cog.role_info.can_run.return_value = True |