aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorGravatar Mark <[email protected]>2021-01-20 15:46:00 -0800
committerGravatar GitHub <[email protected]>2021-01-20 15:46:00 -0800
commit04c3a18c2088cc0c495be6d6772a3184b52b1127 (patch)
treef926f29a9fbd0163cbf0d8573649f206450da5ed /tests
parentPrevent bot from sending DMs to itself (diff)
parentMerge 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.py2
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