Skip to content

Commit

Permalink
style: Fix lint in test_views_collections.py
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisChV committed Sep 10, 2024
1 parent b6ca7c5 commit 4078c2f
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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",
}
Expand All @@ -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",
}
Expand All @@ -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"
)
Expand All @@ -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):
Expand Down

0 comments on commit 4078c2f

Please sign in to comment.