mirror of
https://github.com/ansible/awx.git
synced 2026-05-08 18:07:36 -02:30
Fix unit test fallout
This commit is contained in:
committed by
Shane McDonald
parent
49bdadcdbf
commit
10e68c6fb3
@@ -1288,7 +1288,11 @@ class TestJobCredentials(TestJobExecution):
|
|||||||
credential, env, {}, [], private_data_dir
|
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([
|
assert shade_config == '\n'.join([
|
||||||
'clouds:',
|
'clouds:',
|
||||||
' devstack:',
|
' devstack:',
|
||||||
|
|||||||
Reference in New Issue
Block a user