aboutsummaryrefslogtreecommitdiffstats
path: root/tests/base.py
diff options
context:
space:
mode:
authorGravatar Matteo Bertucci <[email protected]>2021-09-06 15:35:34 +0200
committerGravatar Matteo Bertucci <[email protected]>2021-09-06 15:35:34 +0200
commit2fbe252d24406942ee2ea114b1fffa42aa7070de (patch)
treec36ac67ccb7cf8df8d38a40dc3f9a6488f06bb60 /tests/base.py
parentServer command now uses correct TalentPool attr (#1810) (diff)
Migrate to Discord.py 2.0a0
Since the Discord.py repository has been archived, we can switch to the latest commit of 2.0a0, knowing no breaking change will occur (still pinned to the commit just in case). This commits fixes any problem related to the migration: - New avatar interface - TZ aware datetimes - Various inernal API changes
Diffstat (limited to 'tests/base.py')
-rw-r--r--tests/base.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/base.py b/tests/base.py
index d99b9ac31..79ff5bc7e 100644
--- a/tests/base.py
+++ b/tests/base.py
@@ -102,4 +102,4 @@ class CommandTestCase(unittest.IsolatedAsyncioTestCase):
with self.assertRaises(commands.MissingPermissions) as cm:
await cmd.can_run(ctx)
- self.assertCountEqual(permissions.keys(), cm.exception.missing_perms)
+ self.assertCountEqual(permissions.keys(), cm.exception.missing_permissions)