Skip to content

Commit

Permalink
Fix broken time_tracking model test.
Browse files Browse the repository at this point in the history
  • Loading branch information
dbernstein committed Aug 28, 2024
1 parent 454a953 commit 486ed28
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/manager/sqlalchemy/model/test_time_tracking.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
)

Expand Down

0 comments on commit 486ed28

Please sign in to comment.