From 14b431511de06ccd4f7aa08e9e626839ee028f0e Mon Sep 17 00:00:00 2001 From: Daniel Bernstein Date: Tue, 19 Nov 2024 09:59:52 -0800 Subject: [PATCH] Fix patron test. --- tests/manager/sqlalchemy/model/test_patron.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/tests/manager/sqlalchemy/model/test_patron.py b/tests/manager/sqlalchemy/model/test_patron.py index 00e21ae80..bc422b08f 100644 --- a/tests/manager/sqlalchemy/model/test_patron.py +++ b/tests/manager/sqlalchemy/model/test_patron.py @@ -334,9 +334,6 @@ def test_library(self, db: DatabaseTransactionFixture): loan, is_new = pool.loan_to(patron) assert db.default_library() == loan.library - loan.patron = None - assert None == loan.library - patron.library = db.library() loan.patron = patron assert patron.library == loan.library