Skip to content

Commit 5fe0c18

Browse files
committed
more fixes
1 parent 25e8abd commit 5fe0c18

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.vscode/settings.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{
2+
"python.defaultInterpreterPath": "${workspaceFolder}/.venv/bin/python3",
23
"python.testing.pytestArgs": [
34
"tests"
45
],

tests/integration/conftest.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ def a(env_or_skip) -> AccountClient:
6565
_load_debug_env_if_runs_from_ide("account")
6666
env_or_skip("CLOUD_ENV")
6767
account_client = AccountClient()
68-
if not account_client.config.experimental_is_unified_host or not account_client.config.is_account_client:
68+
if not account_client.config.account_id:
6969
pytest.skip("not Databricks Account client")
7070
return account_client
7171

@@ -75,7 +75,7 @@ def ucacct(env_or_skip) -> AccountClient:
7575
_load_debug_env_if_runs_from_ide("ucacct")
7676
env_or_skip("CLOUD_ENV")
7777
account_client = AccountClient()
78-
if not account_client.config.experimental_is_unified_host or not account_client.config.is_account_client:
78+
if not account_client.config.account_id:
7979
pytest.skip("not Databricks Account client")
8080
if "TEST_METASTORE_ID" not in os.environ:
8181
pytest.skip("not in Unity Catalog Workspace test env")

0 commit comments

Comments
 (0)