File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -836,7 +836,7 @@ def test_close_connection_closes_cursors(self):
836
836
837
837
# When connection closes, any cursor operations should no longer exist at the server
838
838
with pytest .raises (SessionAlreadyClosedError ) as cm :
839
- op_status_at_server = ars .thrift_backend ._client .GetOperationStatus (
839
+ op_status_at_server = ars .backend ._client .GetOperationStatus (
840
840
status_request
841
841
)
842
842
@@ -916,7 +916,7 @@ def test_cursor_error_handling(self):
916
916
assert op_handle is not None
917
917
918
918
# Manually close the operation to simulate server-side closure
919
- conn .thrift_backend .close_command (op_handle )
919
+ conn .session . backend .close_command (op_handle )
920
920
921
921
cursor .close ()
922
922
@@ -936,7 +936,7 @@ def test_result_set_close(self):
936
936
937
937
result_set .close ()
938
938
939
- assert result_set .op_state == result_set .thrift_backend .CLOSED_OP_STATE
939
+ assert result_set .op_state == result_set .backend .CLOSED_OP_STATE
940
940
assert result_set .op_state != initial_op_state
941
941
942
942
# Closing the result set again should be a no-op and not raise exceptions
You can’t perform that action at this time.
0 commit comments