Skip to content

Commit

Permalink
Test fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ankiaga committed Jan 29, 2024
1 parent ce41b3a commit 4ebad97
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/unit/spanner_dbapi/test_connection.py
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,7 @@ def test__release_session(self, mock_database):

def test_release_session_database_error(self):
connection = Connection(INSTANCE)
connection._session = "session"
with pytest.raises(ValueError):
connection._release_session()

Expand Down

0 comments on commit 4ebad97

Please sign in to comment.