diff options
author | 2022-09-30 16:20:18 +0200 | |
---|---|---|
committer | 2022-09-30 16:20:18 +0200 | |
commit | fca03d31cea78a793fda8b2d2764ada83a4c08dd (patch) | |
tree | f72b166c17fac7003c966fc4f943d42812425baf /pydis_site/apps/api/tests | |
parent | Merge #770 - add a collection of keywords per rule (diff) | |
parent | Merge branch 'main' into fix-warnings (diff) |
Merge pull request #768 from python-discord/fix-warnings
Fix Warnings & Enable In Tests
Diffstat (limited to 'pydis_site/apps/api/tests')
-rw-r--r-- | pydis_site/apps/api/tests/test_filterlists.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pydis_site/apps/api/tests/test_filterlists.py b/pydis_site/apps/api/tests/test_filterlists.py index 5a5bca60..9959617e 100644 --- a/pydis_site/apps/api/tests/test_filterlists.py +++ b/pydis_site/apps/api/tests/test_filterlists.py @@ -64,8 +64,8 @@ class FetchTests(AuthenticatedAPITestCase): self.assertEqual(response.status_code, 200) for api_type, model_type in zip(response.json(), FilterList.FilterListType.choices): - self.assertEquals(api_type[0], model_type[0]) - self.assertEquals(api_type[1], model_type[1]) + self.assertEqual(api_type[0], model_type[0]) + self.assertEqual(api_type[1], model_type[1]) class CreationTests(AuthenticatedAPITestCase): |