From fff1591e893c3942621e39c34e7ae54ac96abbce Mon Sep 17 00:00:00 2001 From: Jonathan Green Date: Tue, 3 Sep 2024 12:43:20 -0300 Subject: [PATCH] Better grammar --- src/palace/manager/api/circulation_exceptions.py | 2 +- tests/manager/api/test_bibliotheca.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/palace/manager/api/circulation_exceptions.py b/src/palace/manager/api/circulation_exceptions.py index f4aeedd34..1bc693ca5 100644 --- a/src/palace/manager/api/circulation_exceptions.py +++ b/src/palace/manager/api/circulation_exceptions.py @@ -324,7 +324,7 @@ class NoAvailableCopies(CannotLoan): @property def base(self) -> ProblemDetail: - return CHECKOUT_FAILED.detailed(detail="No available copies to check out.") + return CHECKOUT_FAILED.detailed(detail="No copies available to check out.") class AlreadyCheckedOut(CannotLoan): diff --git a/tests/manager/api/test_bibliotheca.py b/tests/manager/api/test_bibliotheca.py index ee2c73b06..a6215dde1 100644 --- a/tests/manager/api/test_bibliotheca.py +++ b/tests/manager/api/test_bibliotheca.py @@ -881,7 +881,7 @@ class TestErrorParser: ( "the patron document status was CAN_HOLD and not one of CAN_LOAN,RESERVATION", NoAvailableCopies, - "No available copies to check out.", + "No copies available to check out.", "the patron document status was CAN_HOLD and not one of CAN_LOAN,RESERVATION", ), (