mirror of
https://github.com/ansible/awx.git
synced 2026-01-17 12:41:19 -03:30
Fix unit test fallout
This commit is contained in:
parent
49bdadcdbf
commit
10e68c6fb3
@ -1288,7 +1288,11 @@ class TestJobCredentials(TestJobExecution):
|
||||
credential, env, {}, [], private_data_dir
|
||||
)
|
||||
|
||||
shade_config = open(env['OS_CLIENT_CONFIG_FILE'], 'r').read()
|
||||
# convert container path to host machine path
|
||||
config_loc = os.path.join(
|
||||
private_data_dir, os.path.basename(env['OS_CLIENT_CONFIG_FILE'])
|
||||
)
|
||||
shade_config = open(config_loc, 'r').read()
|
||||
assert shade_config == '\n'.join([
|
||||
'clouds:',
|
||||
' devstack:',
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user