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):