From e3201d5f2380e2dd2aa282b73fa399c8ea333c5b Mon Sep 17 00:00:00 2001 From: Peter McMaster <39925732+DawdlingDaedalus@users.noreply.github.com> Date: Sat, 19 Aug 2023 09:21:43 -0700 Subject: [PATCH] Remove 's', 'assertEquals()' line 122 index.rst --- docs/index.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/index.rst b/docs/index.rst index e990ef8..0cedb5d 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -119,7 +119,7 @@ a special ``json`` attribute appended to the ``Response`` object:: class TestViews(TestCase): def test_some_json(self): response = self.client.get("/ajax/") - self.assertEquals(response.json, dict(success=True)) + self.assertEqual(response.json, dict(success=True)) Opt to not render the templates -------------------------------