diff --git a/src/palace/manager/api/odl/api.py b/src/palace/manager/api/odl/api.py index 514c3bc8b..4c247a925 100644 --- a/src/palace/manager/api/odl/api.py +++ b/src/palace/manager/api/odl/api.py @@ -567,9 +567,7 @@ def _lcp_fulfill( if content_link is None or content_type is None: raise CannotFulfill() - return FetchFulfillment( - content_link, content_type, allowed_response_codes=["2xx"] - ) + return FetchFulfillment(content_link, content_type) def _bearer_token_fulfill( self, loan: Loan, delivery_mechanism: LicensePoolDeliveryMechanism diff --git a/tests/manager/api/odl/test_api.py b/tests/manager/api/odl/test_api.py index 32985a929..f42ec34a9 100644 --- a/tests/manager/api/odl/test_api.py +++ b/tests/manager/api/odl/test_api.py @@ -894,7 +894,6 @@ def test_fulfill_success( assert isinstance(fulfillment, FetchFulfillment) assert correct_link == fulfillment.content_link assert correct_type == fulfillment.content_type - assert ["2xx"] == fulfillment.allowed_response_codes def test_fulfill_open_access( self,