Skip to content

Commit

Permalink
improve auth databricks test
Browse files Browse the repository at this point in the history
  • Loading branch information
donotpush committed Dec 11, 2024
1 parent 6bb0a30 commit 29f296d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/load/pipeline/test_databricks_pipeline.py
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,7 @@ def test_databricks_auth_oauth(destination_config: DestinationTestConfiguration)
bricks = databricks()
config = bricks.configuration(None, accept_partial=True)
assert config.credentials.client_id and config.credentials.client_secret
assert not config.credentials.access_token

dataset_name = "test_databricks_oauth" + uniq_id()
pipeline = destination_config.setup_pipeline(
Expand All @@ -183,6 +184,7 @@ def test_databricks_auth_token(destination_config: DestinationTestConfiguration)
bricks = databricks()
config = bricks.configuration(None, accept_partial=True)
assert config.credentials.access_token
assert not (config.credentials.client_secret and config.credentials.client_id)

dataset_name = "test_databricks_token" + uniq_id()
pipeline = destination_config.setup_pipeline(
Expand Down

0 comments on commit 29f296d

Please sign in to comment.