Skip to content

Commit

Permalink
Corrige 'test_list_categories()'
Browse files Browse the repository at this point in the history
  • Loading branch information
Arnaud-D committed Sep 18, 2024
1 parent a874d97 commit edfb494
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zds/tutorialv2/tests/tests_lists.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit edfb494

Please sign in to comment.