Skip to content

Commit

Permalink
tests: check for setSpec in GetRecord
Browse files Browse the repository at this point in the history
  • Loading branch information
yashlamba authored and slint committed Nov 17, 2023
1 parent 0725452 commit 0e783ea
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/oaiserver/test_oaipmh.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,3 +91,5 @@ def _build_oai_url(verb, metadata_format, oai_set=None, identifier=None):
resp = client.get(url)
assert resp.status_code == 200
assert f"<identifier>{oai_id}</identifier>" in resp.text
if record["id"] == community_record["id"]:
assert "<setSpec>community-blr</setSpec>" in resp.text

0 comments on commit 0e783ea

Please sign in to comment.