aboutsummaryrefslogtreecommitdiffstats
path: root/pydis_site/apps/content/tests
diff options
context:
space:
mode:
authorGravatar Hassan Abouelela <[email protected]>2022-08-19 01:10:53 +0400
committerGravatar Johannes Christ <[email protected]>2022-09-04 18:52:01 +0200
commit4998984727c2474bea7577c89d6fadda864cb538 (patch)
treea883457fb80ef374f9f8da90e2f81f1a383491eb /pydis_site/apps/content/tests
parentFix Django Deprecation Warnings (diff)
Fix Unittest Deprecation Warnings
Signed-off-by: Hassan Abouelela <[email protected]>
Diffstat (limited to 'pydis_site/apps/content/tests')
-rw-r--r--pydis_site/apps/content/tests/test_views.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pydis_site/apps/content/tests/test_views.py b/pydis_site/apps/content/tests/test_views.py
index eadad7e3..a09d22d8 100644
--- a/pydis_site/apps/content/tests/test_views.py
+++ b/pydis_site/apps/content/tests/test_views.py
@@ -172,7 +172,7 @@ class PageOrCategoryViewTests(MockPagesTestCase, SimpleTestCase, TestCase):
for item in context["breadcrumb_items"]:
item["path"] = Path(item["path"])
- self.assertEquals(
+ self.assertEqual(
context["breadcrumb_items"],
[
{"name": PARSED_CATEGORY_INFO["title"], "path": Path(".")},