From bc87fb0c5db270aabaf29cd833f60fb394ada7ba Mon Sep 17 00:00:00 2001 From: Steven Robertson Date: Sun, 15 Mar 2020 11:14:57 -0700 Subject: [PATCH] change more tests to compare to 'discovered_interpreter' for python_path --- tests/ansible/integration/transport_config/python_path.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/ansible/integration/transport_config/python_path.yml b/tests/ansible/integration/transport_config/python_path.yml index e42c3b23..f7fe4b8c 100644 --- a/tests/ansible/integration/transport_config/python_path.yml +++ b/tests/ansible/integration/transport_config/python_path.yml @@ -11,7 +11,7 @@ - {mitogen_get_stack: {}, register: out} - assert_equal: left: out.result[0].kwargs.python_path - right: ["/usr/bin/python"] + right: ["{{out.discovered_interpreter}}"] - hosts: tc-python-path-hostvar vars: {mitogen_via: tc-python-path-unset} @@ -67,7 +67,7 @@ right: ["{{ansible_playbook_python}}"] - assert_equal: left: out.result[1].kwargs.python_path - right: ["/usr/bin/python"] + right: ["{{out.discovered_interpreter}}"] # explicit local connections get the same treatment as everything else. @@ -87,7 +87,7 @@ - {mitogen_get_stack: {}, register: out} - assert_equal: left: out.result[0].kwargs.python_path - right: ["/usr/bin/python"] + right: ["{{out.discovered_interpreter}}"] - assert_equal: left: out.result[1].kwargs.python_path right: ["{{ansible_playbook_python}}"]