mirror of
https://github.com/ansible/awx.git
synced 2026-02-18 19:50:05 -03:30
cast bool to str for runner env
It appears this was causing a fatal error for runner
This commit is contained in:
@@ -1346,7 +1346,7 @@ class TestProjectUpdateGalaxyCredentials(TestJobExecution):
|
||||
task.instance = project_update
|
||||
env = task.build_env(project_update, private_data_dir)
|
||||
if ignore:
|
||||
assert env['ANSIBLE_GALAXY_IGNORE'] is True
|
||||
assert env['ANSIBLE_GALAXY_IGNORE'] == 'True'
|
||||
else:
|
||||
assert 'ANSIBLE_GALAXY_IGNORE' not in env
|
||||
|
||||
|
||||
Reference in New Issue
Block a user