issue #591: fix test for Ansible 2.3.

pull/595/head
David Wilson 5 years ago
parent 0b7fd3f290
commit e90c05dc9d

@ -11,7 +11,11 @@
- custom_python_run_script:
script: |
import os
os.chdir(module.tmpdir)
try:
os.chdir(module.tmpdir)
except:
# Ansible 2.3.
os.chdir(os.path.dirname(__file__))
# Will crash if process has a nonexistent CWD.
- custom_python_os_getcwd:

Loading…
Cancel
Save