@@ -197,8 +197,8 @@ def test_get_profile_name_accrole_resolve_alias_do_not_include_paths(self):
197
197
friendly_account_name = 'Account: my-org-master (123456789012)' ,
198
198
friendly_role_name = 'administrator/administrator' )
199
199
cred_profile = 'acc-role'
200
- resolve_alias = ' True'
201
- include_path = ' False'
200
+ resolve_alias = True
201
+ include_path = False
202
202
self .assertEqual (creds .get_profile_name (cred_profile , include_path , naming_data , resolve_alias , role ), "my-org-master-administrator" )
203
203
204
204
def test_get_profile_accrole_name_do_not_resolve_alias_do_not_include_paths (self ):
@@ -210,8 +210,8 @@ def test_get_profile_accrole_name_do_not_resolve_alias_do_not_include_paths(self
210
210
friendly_account_name = 'Account: my-org-master (123456789012)' ,
211
211
friendly_role_name = 'administrator/administrator' )
212
212
cred_profile = 'acc-role'
213
- resolve_alias = ' False'
214
- include_path = ' False'
213
+ resolve_alias = False
214
+ include_path = False
215
215
self .assertEqual (creds .get_profile_name (cred_profile , include_path , naming_data , resolve_alias , role ),
216
216
"123456789012-administrator" )
217
217
@@ -224,8 +224,8 @@ def test_get_profile_accrole_name_do_not_resolve_alias_include_paths(self):
224
224
friendly_account_name = 'Account: my-org-master (123456789012)' ,
225
225
friendly_role_name = 'administrator/administrator' )
226
226
cred_profile = 'acc-role'
227
- resolve_alias = ' False'
228
- include_path = ' True'
227
+ resolve_alias = False
228
+ include_path = True
229
229
self .assertEqual (creds .get_profile_name (cred_profile , include_path , naming_data , resolve_alias , role ),
230
230
"123456789012-/some/long/extended/path/administrator" )
231
231
@@ -238,8 +238,8 @@ def test_get_profile_name_role(self):
238
238
friendly_account_name = 'Account: my-org-master (123456789012)' ,
239
239
friendly_role_name = 'administrator/administrator' )
240
240
cred_profile = 'role'
241
- resolve_alias = ' False'
242
- include_path = ' True'
241
+ resolve_alias = False
242
+ include_path = True
243
243
self .assertEqual (creds .get_profile_name (cred_profile , include_path , naming_data , resolve_alias , role ),
244
244
'administrator' )
245
245
@@ -252,8 +252,8 @@ def test_get_profile_name_account_resolve_alias(self):
252
252
friendly_account_name = 'Account: my-org-master (123456789012)' ,
253
253
friendly_role_name = 'administrator/administrator' )
254
254
cred_profile = 'acc'
255
- resolve_alias = ' True'
256
- include_path = ' True'
255
+ resolve_alias = True
256
+ include_path = True
257
257
self .assertEqual (creds .get_profile_name (cred_profile , include_path , naming_data , resolve_alias , role ),
258
258
'my-org-master' )
259
259
@@ -266,8 +266,8 @@ def test_get_profile_name_account_do_not_resolve_alias(self):
266
266
friendly_account_name = 'Account: my-org-master (123456789012)' ,
267
267
friendly_role_name = 'administrator/administrator' )
268
268
cred_profile = 'acc'
269
- resolve_alias = ' False'
270
- include_path = ' True'
269
+ resolve_alias = False
270
+ include_path = True
271
271
self .assertEqual (creds .get_profile_name (cred_profile , include_path , naming_data , resolve_alias , role ),
272
272
'123456789012' )
273
273
@@ -280,8 +280,8 @@ def test_get_profile_name_default(self):
280
280
friendly_account_name = 'Account: my-org-master (123456789012)' ,
281
281
friendly_role_name = 'administrator/administrator' )
282
282
cred_profile = 'default'
283
- resolve_alias = ' False'
284
- include_path = ' True'
283
+ resolve_alias = False
284
+ include_path = True
285
285
self .assertEqual (creds .get_profile_name (cred_profile , include_path , naming_data , resolve_alias , role ),
286
286
'default' )
287
287
@@ -294,7 +294,7 @@ def test_get_profile_name_else(self):
294
294
friendly_account_name = 'Account: my-org-master (123456789012)' ,
295
295
friendly_role_name = 'administrator/administrator' )
296
296
cred_profile = 'foo'
297
- resolve_alias = ' False'
298
- include_path = ' True'
297
+ resolve_alias = False
298
+ include_path = True
299
299
self .assertEqual (creds .get_profile_name (cred_profile , include_path , naming_data , resolve_alias , role ),
300
300
'foo' )
0 commit comments