Skip to content

Commit

Permalink
Test fixups
Browse files Browse the repository at this point in the history
  • Loading branch information
tw4l committed Dec 9, 2024
1 parent 4eb7e9f commit a759584
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions backend/test/test_collections.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
NON_PUBLIC_COLL_FIELDS = (
"modified",
"tags",
"access",
"homeUrlPageId",
)
NON_PUBLIC_IMAGE_FIELDS = ("originalFilename", "userid", "userName", "created")
Expand Down Expand Up @@ -1150,7 +1149,7 @@ def test_get_public_collection_unlisted(crawler_auth_headers, default_org_id):
assert r.status_code == 200
coll = r.json()

assert coll["id"] == _public_coll_id
assert coll["id"] == _second_public_coll_id
assert coll["oid"] == default_org_id
assert coll["access"] == "unlisted"
assert coll["name"]
Expand All @@ -1164,8 +1163,6 @@ def test_get_public_collection_unlisted(crawler_auth_headers, default_org_id):
for field in NON_PUBLIC_COLL_FIELDS:
assert field not in coll

assert coll["caption"] == CAPTION

assert coll["homeUrl"]
assert coll["homeUrlTs"]

Expand Down

0 comments on commit a759584

Please sign in to comment.