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 46075f9 commit dab5712Copy full SHA for dab5712
tests/unit/test_telemetry.py
@@ -304,8 +304,8 @@ def test_connection_failure_sends_correct_telemetry_payload(
304
mock_session.side_effect = Exception(error_message)
305
306
try:
307
- from databricks.sql.client import Connection
308
- Connection(server_hostname="test-host", http_path="/test-path")
+ from databricks import sql
+ sql.connect(server_hostname="test-host", http_path="/test-path")
309
except Exception as e:
310
assert str(e) == error_message
311
0 commit comments