diff --git a/backend/test/test_collections.py b/backend/test/test_collections.py index 855035c6d..791543931 100644 --- a/backend/test/test_collections.py +++ b/backend/test/test_collections.py @@ -728,7 +728,11 @@ def test_filter_sort_collections( def test_list_public_collections( - crawler_auth_headers, admin_auth_headers, default_org_id, crawler_crawl_id, admin_crawl_id + crawler_auth_headers, + admin_auth_headers, + default_org_id, + crawler_crawl_id, + admin_crawl_id, ): # Create new public collection r = requests.post( @@ -768,7 +772,7 @@ def test_list_public_collections( r = requests.post( f"{API_PREFIX}/orgs/{default_org_id}/public-profile", headers=admin_auth_headers, - json={"enablePublicProfile": True, "publicDescription": public_description} + json={"enablePublicProfile": True, "publicDescription": public_description}, ) assert r.status_code == 200 assert r.json()["updated"] @@ -780,7 +784,7 @@ def test_list_public_collections( assert r.status_code == 200 data = r.json() assert data["enablePublicProfile"] - assert data["publicDesciprtion"] == public_description + assert data["publicDescription"] == public_description # List public collections with no auth (no public profile) r = requests.get(f"{API_PREFIX}/public-collections/{org_slug}")