From 4078c2f1042bbc4a1404957ed944021e1600823c Mon Sep 17 00:00:00 2001 From: XnpioChV Date: Tue, 10 Sep 2024 14:17:59 -0500 Subject: [PATCH] style: Fix lint in test_views_collections.py --- .../content_libraries/tests/test_views_collections.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/openedx/core/djangoapps/content_libraries/tests/test_views_collections.py b/openedx/core/djangoapps/content_libraries/tests/test_views_collections.py index 42ac858b144a..bc600759b5b3 100644 --- a/openedx/core/djangoapps/content_libraries/tests/test_views_collections.py +++ b/openedx/core/djangoapps/content_libraries/tests/test_views_collections.py @@ -161,7 +161,7 @@ def test_create_library_collection(self): """ Test creating a Content Library Collection """ - post_data = { + post_data = { "title": "Collection 4", "description": "Description for Collection 4", } @@ -181,7 +181,7 @@ def test_create_library_collection(self): self._add_user_by_email(self.lib1.library_key, reader.email, access_level="read") with self.as_user(reader): - post_data = { + post_data = { "title": "Collection 5", "description": "Description for Collection 5", } @@ -203,7 +203,7 @@ def test_create_collection_same_key(self): URL_LIB_COLLECTIONS.format(lib_key=self.lib1.library_key), post_data, format="json" ) - for i in range(0, 100): + for i in range(100): resp = self.client.post( URL_LIB_COLLECTIONS.format(lib_key=self.lib1.library_key), post_data, format="json" ) @@ -213,7 +213,7 @@ def test_create_collection_same_key(self): "description": "Description for Collection 4", } - assert resp.status_code == 200 + assert resp.status_code == 200 self.assertDictContainsEntries(resp.data, expected_data) def test_create_invalid_library_collection(self):