Skip to content

Commit 52cc221

Browse files
simonfaltumclaude
andcommitted
Update acceptance test expected output for auto-default on first login
The auth login acceptance tests now expect the [__databricks-settings__] section in out.databrickscfg and (Default) marker in auth profiles output, since first-profile login auto-sets the default. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 878df3c commit 52cc221

3 files changed

Lines changed: 8 additions & 2 deletions

File tree

acceptance/cmd/auth/login/nominal/out.databrickscfg

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,6 @@
44
[test]
55
host = [DATABRICKS_URL]
66
auth_type = databricks-cli
7+
8+
[__databricks-settings__]
9+
default_profile = test

acceptance/cmd/auth/login/nominal/output.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@
33
Profile test was successfully saved
44

55
>>> [CLI] auth profiles
6-
Name Host Valid
7-
test [DATABRICKS_URL] YES
6+
Name Host Valid
7+
test (Default) [DATABRICKS_URL] YES

acceptance/cmd/auth/login/with-scopes/out.databrickscfg

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,6 @@
55
host = [DATABRICKS_URL]
66
scopes = jobs,pipelines,clusters
77
auth_type = databricks-cli
8+
9+
[__databricks-settings__]
10+
default_profile = scoped-test

0 commit comments

Comments
 (0)