File tree 2 files changed +11
-3
lines changed
2 files changed +11
-3
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,9 @@ def client_environment_settings(monkeypatch):
16
16
monkeypatch .setenv ("CTP_CLIENT_SECRET" , "client_secret" )
17
17
monkeypatch .setenv ("CTP_CLIENT_SCOPES" , "some_scope" )
18
18
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
+ )
20
22
21
23
22
24
def test_client_with_environment_settings_is_setup (
Original file line number Diff line number Diff line change 6
6
@pytest .mark .parametrize (
7
7
"token_url,expected_url" ,
8
8
[
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
+ ),
11
17
("https://auth.commercetools.co" , "https://auth.commercetools.co/oauth/token" ),
12
18
(
13
19
"https://auth.europe-west1.gcp.commercetools.com?test=123" ,
You can’t perform that action at this time.
0 commit comments