File tree Expand file tree Collapse file tree 2 files changed +11
-3
lines changed Expand file tree Collapse file tree 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):
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
2224def test_client_with_environment_settings_is_setup (
Original file line number Diff line number Diff line change 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" ,
You can’t perform that action at this time.
0 commit comments