Skip to content

Commit d939fe3

Browse files
committed
auth mech test fix
Signed-off-by: Sai Shree Pradhan <[email protected]>
1 parent 846e701 commit d939fe3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/unit/test_telemetry.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -165,9 +165,9 @@ def test_auth_mechanism_detection(self):
165165
"""Test authentication mechanism detection for different providers."""
166166
test_cases = [
167167
(AccessTokenAuthProvider("token"), AuthMech.PAT),
168-
(MagicMock(spec=DatabricksOAuthProvider), AuthMech.DATABRICKS_OAUTH),
169-
(MagicMock(spec=ExternalAuthProvider), AuthMech.EXTERNAL_AUTH),
170-
(MagicMock(), AuthMech.CLIENT_CERT), # Unknown provider
168+
(MagicMock(spec=DatabricksOAuthProvider), AuthMech.OAUTH),
169+
(MagicMock(spec=ExternalAuthProvider), AuthMech.OTHER),
170+
(MagicMock(), AuthMech.OTHER), # Unknown provider
171171
(None, None),
172172
]
173173

0 commit comments

Comments
 (0)