Skip to content

Commit c3d8b0f

Browse files
clean up docstring
Signed-off-by: varun-edachali-dbx <varun.edachali@databricks.com>
1 parent c22a53f commit c3d8b0f

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

tests/unit/test_client.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -176,13 +176,12 @@ def test_closing_connection_closes_commands(self, mock_thrift_client_class):
176176
"""Test that closing a connection properly closes commands.
177177
178178
This test verifies that when a connection is closed:
179-
1. All result sets are marked as closed server-side
179+
1. the active result set is marked as closed server-side
180180
2. The operation state is set to CLOSED
181-
3. Backend.close_command is called only for commands that weren't already closed
181+
3. backend.close_command is called only for commands that weren't already closed
182182
183183
Args:
184184
mock_thrift_client_class: Mock for ThriftBackend class
185-
closed: Parameter indicating if the command is already closed
186185
"""
187186
for closed in (True, False):
188187
with self.subTest(closed=closed):

0 commit comments

Comments
 (0)