Skip to content

Commit

Permalink
fix reg agency test
Browse files Browse the repository at this point in the history
  • Loading branch information
sckott committed Oct 31, 2021
1 parent 251d423 commit 5460684
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/test-registration_agency.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import pytest
import os
import vcr
from requests import HTTPError
from habanero import Crossref
from simplejson import JSONDecodeError

cr = Crossref()

Expand All @@ -26,5 +26,5 @@ def test_registration_agency_unicode():
@pytest.mark.vcr
def test_registration_agency_bad_request():
"registration agency - bad request"
with pytest.raises(JSONDecodeError):
with pytest.raises(HTTPError):
cr.registration_agency(5)

0 comments on commit 5460684

Please sign in to comment.