mirror of
https://github.com/ansible/awx.git
synced 2026-03-04 02:01:01 -03:30
More inventory update containerization fixes
This commit is contained in:
committed by
Shane McDonald
parent
14a8e3da5e
commit
69dcbe0865
@@ -2090,7 +2090,8 @@ class TestInventoryUpdateCredentials(TestJobExecution):
|
||||
|
||||
assert '-i' in ' '.join(args)
|
||||
script = args[args.index('-i') + 1]
|
||||
with open(script, 'r') as f:
|
||||
host_script = script.replace('/runner', private_data_dir)
|
||||
with open(host_script, 'r') as f:
|
||||
assert f.read() == inventory_update.source_script.script
|
||||
assert env['FOO'] == 'BAR'
|
||||
if with_credential:
|
||||
|
||||
Reference in New Issue
Block a user