Skip to content

Commit 6c123dd

Browse files
committed
update
1 parent 58fb4c3 commit 6c123dd

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tests/integration/test_dbconnect.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -59,15 +59,15 @@ def test_dbconnect_initialisation(w, setup_dbconnect_test):
5959

6060
@pytest.mark.xdist_group(name="databricks-connect")
6161
def test_dbconnect_runtime_import(w, setup_dbconnect_test):
62-
reload_modules("databricks.sdk.runtime")
63-
from databricks.sdk.runtime import spark
62+
reload_modules("databricks.sdk.databricks.runtime")
63+
from databricks.sdk.databricks.runtime import spark
6464

6565
assert spark.sql("SELECT 1").collect()[0][0] == 1
6666

6767

6868
@pytest.mark.xdist_group(name="databricks-connect")
6969
def test_dbconnect_runtime_import_no_error_if_doesnt_exist(w):
70-
reload_modules("databricks.sdk.runtime")
71-
from databricks.sdk.runtime import spark
70+
reload_modules("databricks.sdk.databricks.runtime")
71+
from databricks.sdk.databricks.runtime import spark
7272

7373
assert spark is None

0 commit comments

Comments
 (0)