Skip to content

Commit

Permalink
Fix typo in test key
Browse files Browse the repository at this point in the history
  • Loading branch information
tw4l committed Nov 26, 2024
1 parent 02891ad commit d4458de
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions backend/test/test_collections.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down Expand Up @@ -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"]
Expand All @@ -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}")
Expand Down

0 comments on commit d4458de

Please sign in to comment.