Skip to content

Commit 5ee4136

Browse files
call correct method in test_use_arrow_schema
Signed-off-by: varun-edachali-dbx <varun.edachali@databricks.com>
1 parent c1d3be2 commit 5ee4136

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/unit/test_thrift_backend.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -966,8 +966,8 @@ def test_use_arrow_schema_if_available(self, tcli_service_class):
966966
thrift_backend = self._create_thrift_client()
967967

968968
# Call the real _results_message_to_execute_response method
969-
execute_response, _ = thrift_backend._results_message_to_execute_response(
970-
t_execute_resp, ttypes.TOperationState.FINISHED_STATE
969+
execute_response, _ = thrift_backend._handle_execute_response(
970+
t_execute_resp, Mock()
971971
)
972972

973973
self.assertEqual(execute_response.arrow_schema_bytes, arrow_schema_mock)

0 commit comments

Comments
 (0)