From 28daac368cd8dcca9a9bc9e2747b240c6d8eec43 Mon Sep 17 00:00:00 2001 From: Spece Date: Mon, 16 Oct 2023 17:12:45 -0400 Subject: [PATCH] #404 Test sub before super class. --- tests/test_auth_manual_tests.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_auth_manual_tests.py b/tests/test_auth_manual_tests.py index af77f2138..7ae654ec7 100644 --- a/tests/test_auth_manual_tests.py +++ b/tests/test_auth_manual_tests.py @@ -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" @@ -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):