@@ -82,7 +82,7 @@ def test_server_child_folder_ids_by_folderid(env_vars, secret_server):
8282
8383def test_platform_bad_url (platform_env_vars , platform_authorizer ):
8484 bad_server = SecretServer (
85- f"{ platform_env_vars ['base_url ' ]} /nonexistent" ,
85+ f"{ platform_env_vars ['platform_base_url ' ]} /nonexistent" ,
8686 platform_authorizer ,
8787 )
8888 with pytest .raises (SecretServerError ):
@@ -93,17 +93,17 @@ def test_platform_token_url(platform_env_vars, platform_authorizer):
9393 platform_authorizer .get_access_token ()
9494 assert (
9595 platform_authorizer .token_url
96- == f"{ platform_env_vars ['base_url ' ]} /identity/api/oauth2/token/xpmplatform"
96+ == f"{ platform_env_vars ['platform_base_url ' ]} /identity/api/oauth2/token/xpmplatform"
9797 )
9898
9999
100100def test_platform_api_url (platform_server , platform_env_vars ):
101- assert platform_server .api_url == f"{ platform_env_vars ['base_url ' ]} /api/v1"
101+ assert platform_server .api_url == f"{ platform_env_vars ['platform_base_url ' ]} /api/v1"
102102
103103
104104def test_platform_access_token_authorizer (platform_env_vars , platform_authorizer ):
105105 assert SecretServer (
106- platform_env_vars ["base_url " ],
106+ platform_env_vars ["platform_base_url " ],
107107 AccessTokenAuthorizer (platform_authorizer .get_access_token (), "platform" ),
108108 ).get_secret (platform_env_vars ["secret_id" ])["id" ] == int (
109109 platform_env_vars ["secret_id" ]
0 commit comments