Skip to content

Commit bc87fb0

Browse files
committed
change more tests to compare to 'discovered_interpreter' for python_path
1 parent 389cee8 commit bc87fb0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/ansible/integration/transport_config/python_path.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
- {mitogen_get_stack: {}, register: out}
1212
- assert_equal:
1313
left: out.result[0].kwargs.python_path
14-
right: ["/usr/bin/python"]
14+
right: ["{{out.discovered_interpreter}}"]
1515

1616
- hosts: tc-python-path-hostvar
1717
vars: {mitogen_via: tc-python-path-unset}
@@ -67,7 +67,7 @@
6767
right: ["{{ansible_playbook_python}}"]
6868
- assert_equal:
6969
left: out.result[1].kwargs.python_path
70-
right: ["/usr/bin/python"]
70+
right: ["{{out.discovered_interpreter}}"]
7171

7272

7373
# explicit local connections get the same treatment as everything else.
@@ -87,7 +87,7 @@
8787
- {mitogen_get_stack: {}, register: out}
8888
- assert_equal:
8989
left: out.result[0].kwargs.python_path
90-
right: ["/usr/bin/python"]
90+
right: ["{{out.discovered_interpreter}}"]
9191
- assert_equal:
9292
left: out.result[1].kwargs.python_path
9393
right: ["{{ansible_playbook_python}}"]

0 commit comments

Comments
 (0)