We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aa7207e commit fde4634Copy full SHA for fde4634
tests/e2e/test_driver.py
@@ -30,6 +30,7 @@
30
OperationalError,
31
RequestError,
32
)
33
+from databricks.sql.backend.types import CommandState
34
from tests.e2e.common.predicates import (
35
pysql_has_version,
36
pysql_supports_arrow,
@@ -939,7 +940,7 @@ def test_result_set_close(self):
939
940
941
result_set.close()
942
- assert result_set.op_state == result_set.backend.CLOSED_OP_STATE
943
+ assert result_set.op_state == CommandState.CLOSED
944
assert result_set.op_state != initial_op_state
945
946
# Closing the result set again should be a no-op and not raise exceptions
0 commit comments