mirror of
https://github.com/ansible/awx.git
synced 2026-01-11 18:09:57 -03:30
Use correct source_vars syntax
This commit is contained in:
parent
9f8b9b8d7f
commit
5e5790e7d1
@ -1757,7 +1757,7 @@ class TestInventoryUpdateCredentials(TestJobExecution):
|
||||
self.instance.credential, 'password'
|
||||
)
|
||||
|
||||
self.instance.source_vars['prefer_ipv4'] = True
|
||||
self.instance.source_vars = '{"prefer_ipv4": True}'
|
||||
|
||||
def run_pexpect_side_effect(*args, **kwargs):
|
||||
args, cwd, env, stdout = args
|
||||
@ -1767,7 +1767,7 @@ class TestInventoryUpdateCredentials(TestJobExecution):
|
||||
assert config.get('cloudforms', 'username') == 'bob'
|
||||
assert config.get('cloudforms', 'password') == 'secret'
|
||||
assert config.get('cloudforms', 'ssl_verify') == 'false'
|
||||
assert config.get('cloudforms', 'prefer_ipv4') == 'true'
|
||||
assert config.get('cloudforms', 'prefer_ipv4') == 'True'
|
||||
|
||||
cache_path = config.get('cache', 'path')
|
||||
assert cache_path.startswith(env['AWX_PRIVATE_DATA_DIR'])
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user