From 486ed28fc248cd91d281d18e3fe2f42cfac4bb45 Mon Sep 17 00:00:00 2001 From: Daniel Bernstein Date: Thu, 22 Aug 2024 07:29:00 -0700 Subject: [PATCH] Fix broken time_tracking model test. --- tests/manager/sqlalchemy/model/test_time_tracking.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/manager/sqlalchemy/model/test_time_tracking.py b/tests/manager/sqlalchemy/model/test_time_tracking.py index d551edd05..48a01ef7c 100644 --- a/tests/manager/sqlalchemy/model/test_time_tracking.py +++ b/tests/manager/sqlalchemy/model/test_time_tracking.py @@ -185,7 +185,7 @@ def test_contraints(self, db: DatabaseTransactionFixture): loan_identifier=loan_id, ) assert ( - f'Key ("timestamp", identifier_str, collection_name, library_name)=(2000-01-01 12:00:00+00, {identifier.urn}, {collection.name}, {library.name}) already exists' + f'Key ("timestamp", identifier_str, collection_name, library_name, loan_identifier)=(2000-01-01 12:00:00+00, {identifier.urn}, {collection.name}, {library.name}, {loan_id}) already exists' in raised.exconly() )