From c61498202ea6e8ee2a8272dd12bc4280e7339f7d Mon Sep 17 00:00:00 2001 From: David Wilson Date: Sun, 27 Jan 2019 03:30:30 +0000 Subject: [PATCH] issue #477: use assert_equal for nicer debug. --- .../ansible/integration/action/remote_expand_user.yml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/tests/ansible/integration/action/remote_expand_user.yml b/tests/ansible/integration/action/remote_expand_user.yml index e524a7a1..37fc5ebe 100644 --- a/tests/ansible/integration/action/remote_expand_user.yml +++ b/tests/ansible/integration/action/remote_expand_user.yml @@ -36,8 +36,9 @@ sudoable: false register: out become: true - - assert: - that: out.result == '{{user_facts.ansible_facts.ansible_user_dir}}/foo' + - assert_equal: + left: out.result + right: user_facts.ansible_facts.ansible_user_dir + '/foo' - name: "Expand ~user/foo" action_passthrough: @@ -80,8 +81,9 @@ register: out become: true - - assert: - that: out.result == '{{root_facts.ansible_facts.ansible_user_dir}}/foo' + - assert_equal: + left: out.result + right: root_facts.ansible_facts.ansible_user_dir + '/foo' - name: "sudoable; Expand ~user/foo" action_passthrough: