Skip to content

Commit d31c024

Browse files
committed
Fix formatting
1 parent 8a51107 commit d31c024

File tree

2 files changed

+11
-3
lines changed

2 files changed

+11
-3
lines changed

tests/platform/test_client.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,9 @@ def client_environment_settings(monkeypatch):
1616
monkeypatch.setenv("CTP_CLIENT_SECRET", "client_secret")
1717
monkeypatch.setenv("CTP_CLIENT_SCOPES", "some_scope")
1818
monkeypatch.setenv("CTP_API_URL", "https://api.europe-west1.gcp.commercetools.com")
19-
monkeypatch.setenv("CTP_AUTH_URL", "https://auth.europe-west1.gcp.commercetools.com")
19+
monkeypatch.setenv(
20+
"CTP_AUTH_URL", "https://auth.europe-west1.gcp.commercetools.com"
21+
)
2022

2123

2224
def test_client_with_environment_settings_is_setup(

tests/platform/test_utils.py

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,14 @@
66
@pytest.mark.parametrize(
77
"token_url,expected_url",
88
[
9-
("https://auth.europe-west1.gcp.commercetools.com", "https://auth.europe-west1.gcp.commercetools.com/oauth/token"),
10-
("https://auth.europe-west1.gcp.commercetools.com/oauth/token", "https://auth.europe-west1.gcp.commercetools.com/oauth/token"),
9+
(
10+
"https://auth.europe-west1.gcp.commercetools.com",
11+
"https://auth.europe-west1.gcp.commercetools.com/oauth/token",
12+
),
13+
(
14+
"https://auth.europe-west1.gcp.commercetools.com/oauth/token",
15+
"https://auth.europe-west1.gcp.commercetools.com/oauth/token",
16+
),
1117
("https://auth.commercetools.co", "https://auth.commercetools.co/oauth/token"),
1218
(
1319
"https://auth.europe-west1.gcp.commercetools.com?test=123",

0 commit comments

Comments
 (0)