From edfb4949aed48cc9183e5c2b4891fdb37f4e6400 Mon Sep 17 00:00:00 2001 From: Arnaud-D <35631001+Arnaud-D@users.noreply.github.com> Date: Wed, 18 Sep 2024 22:37:35 +0200 Subject: [PATCH] Corrige 'test_list_categories()' --- zds/tutorialv2/tests/tests_lists.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zds/tutorialv2/tests/tests_lists.py b/zds/tutorialv2/tests/tests_lists.py index fbaa04603e..0012802b05 100644 --- a/zds/tutorialv2/tests/tests_lists.py +++ b/zds/tutorialv2/tests/tests_lists.py @@ -118,7 +118,7 @@ def test_list_categories(self): context_categories = list(resp.context_data["categories"]) self.assertEqual(context_categories[0].contents_count, 10) - self.assertEqual(context_categories[0].subcategories, [subcategory_1, subcategory_2]) + self.assertCountEqual(context_categories[0].subcategories, [subcategory_1, subcategory_2]) self.assertIn(category_1, context_categories) def test_private_lists(self):