cast bool to str for runner env

It appears this was causing a fatal error for runner
This commit is contained in:
Elijah DeLee
2022-04-01 12:49:27 -04:00
parent 34b20e26fa
commit 202dc00f4c
2 changed files with 2 additions and 2 deletions

View File

@@ -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