From 719c4444695ef7f2620cbcfbf5defbae5607f79c Mon Sep 17 00:00:00 2001 From: LuizaMaluf Date: Fri, 1 Dec 2023 15:23:40 -0300 Subject: [PATCH] feat(submission_page): changing test --- apps/submissions/tests.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/submissions/tests.py b/apps/submissions/tests.py index 72c06fe..3bad1bb 100644 --- a/apps/submissions/tests.py +++ b/apps/submissions/tests.py @@ -132,5 +132,5 @@ def test_submission_list_view(self) -> None: response = self.client.get(url) self.assertEqual(response.status_code, 200) - self.assertTrue("submissions" in response.context) + self.assertIn("submissions", response.context) self.assertIn(self.submission, response.context["submissions"])