diff options
author | 2023-05-14 23:54:51 +0530 | |
---|---|---|
committer | 2023-05-14 23:54:51 +0530 | |
commit | a241a397f966a4265935dfd5c92a84fdf95c52c8 (patch) | |
tree | 83f6eb572e26e64e6ca18642013abf60f1b23d8b /pydis_site/apps/api/tests/base.py | |
parent | Update pydis_site/apps/content/resources/guides/python-guides/subclassing_bot.md (diff) | |
parent | Merge pull request #972 from python-discord/fix-psycopg3-compatibility-in-met... (diff) |
Merge branch 'main' into subclassing_bot
Diffstat (limited to 'pydis_site/apps/api/tests/base.py')
-rw-r--r-- | pydis_site/apps/api/tests/base.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pydis_site/apps/api/tests/base.py b/pydis_site/apps/api/tests/base.py index c9f3cb7e..704b22cf 100644 --- a/pydis_site/apps/api/tests/base.py +++ b/pydis_site/apps/api/tests/base.py @@ -61,6 +61,7 @@ class AuthenticatedAPITestCase(APITestCase): ... self.assertEqual(response.status_code, 200) """ - def setUp(self): + def setUp(self) -> None: + """Bootstrap the user and authenticate it.""" super().setUp() self.client.force_authenticate(test_user) |