Skip to content

Commit 23143b6

Browse files
fmt
1 parent ef3f5d2 commit 23143b6

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

tests/test_config.py

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -224,10 +224,7 @@ def test_oauth_token_with_oauth_provider(mocker):
224224
mock_oauth_provider.oauth_token.return_value = mock_token
225225

226226
# Create config with noop credentials to avoid network calls
227-
config = Config(
228-
host="https://test.databricks.com",
229-
credentials_strategy=noop_credentials
230-
)
227+
config = Config(host="https://test.databricks.com", credentials_strategy=noop_credentials)
231228

232229
# Replace the header factory with our mock
233230
config._header_factory = mock_oauth_provider
@@ -251,10 +248,7 @@ def test_oauth_token_reuses_existing_provider(mocker):
251248
mock_oauth_provider.oauth_token.return_value = mock_token
252249

253250
# Create config with noop credentials to avoid network calls
254-
config = Config(
255-
host="https://test.databricks.com",
256-
credentials_strategy=noop_credentials
257-
)
251+
config = Config(host="https://test.databricks.com", credentials_strategy=noop_credentials)
258252

259253
# Replace the header factory with our mock
260254
config._header_factory = mock_oauth_provider

0 commit comments

Comments
 (0)