From 8a91354d9f1f755f936b906d2919824e8ae8212d Mon Sep 17 00:00:00 2001 From: Charlotte Kostelic Date: Tue, 27 Feb 2024 12:57:56 -0500 Subject: [PATCH] added test --- tests/test_metadata_api.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/test_metadata_api.py b/tests/test_metadata_api.py index 94afd95..3dd52e4 100644 --- a/tests/test_metadata_api.py +++ b/tests/test_metadata_api.py @@ -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