Skip to content

Commit

Permalink
added test
Browse files Browse the repository at this point in the history
  • Loading branch information
charlottekostelic committed Feb 27, 2024
1 parent 84a5a89 commit 8a91354
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/test_metadata_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -335,6 +335,10 @@ def test_get_full_bib_None_oclcNumber_passed(self, stub_session):
with pytest.raises(InvalidOclcNumber):
stub_session.get_full_bib(oclcNumber=None)

@pytest.mark.http_code(200)
def test_get_institution_holding_codes(self, stub_session, mock_session_response):
assert stub_session.get_institution_holding_codes().status_code == 200

@pytest.mark.http_code(200)
def test_get_institution_holdings(self, stub_session, mock_session_response):
assert stub_session.get_institution_holdings("12345")[0].status_code == 200
Expand Down

0 comments on commit 8a91354

Please sign in to comment.