Skip to content

Commit

Permalink
#404 Test sub before super class.
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelSpece committed Oct 16, 2023
1 parent 1a53405 commit 28daac3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_auth_manual_tests.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from databricks.sdk.core import Config

from .conftest import ConfigSubclass, __tests__
from conftest import ConfigSubclass, __tests__

resource_id = "/subscriptions/123/resourceGroups/abc/providers/Microsoft.Databricks/workspaces/abc123"

Expand All @@ -10,7 +10,7 @@ def fix(monkeypatch):
monkeypatch.setenv("PATH", __tests__ + "/testdata")
monkeypatch.setenv("FAIL_IF", "https://management.core.windows.net/")
kwargs = dict(auth_type="azure-cli", azure_workspace_resource_id=resource_id, host="x")
return Config(**kwargs), ConfigSubclass()
return ConfigSubclass(**kwargs), Config(**kwargs)


def test_azure_cli_auth_type_preserved(monkeypatch):
Expand Down

0 comments on commit 28daac3

Please sign in to comment.