From 587d3c368b210d33cde011b4e0121c95182cab75 Mon Sep 17 00:00:00 2001 From: jctanner Date: Tue, 14 Jun 2016 19:56:50 -0400 Subject: [PATCH] Fix synchronize+vagrant dest assertions that were incorrect. (#16291) Addresses #16284 --- .../plugins/action/fixtures/synchronize/basic_vagrant/meta.yaml | 2 +- .../fixtures/synchronize/basic_vagrant_become_cli/meta.yaml | 2 +- .../action/fixtures/synchronize/basic_vagrant_sudo/meta.yaml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/test/units/plugins/action/fixtures/synchronize/basic_vagrant/meta.yaml b/test/units/plugins/action/fixtures/synchronize/basic_vagrant/meta.yaml index 904a21a8ee6..15a3a1a06fc 100644 --- a/test/units/plugins/action/fixtures/synchronize/basic_vagrant/meta.yaml +++ b/test/units/plugins/action/fixtures/synchronize/basic_vagrant/meta.yaml @@ -20,7 +20,7 @@ asserts: - "self.task.args['_local_rsync_path'] == 'rsync'" - "self.task.args['dest_port'] == 2202" - "self.task.args['src'] == '/tmp/deleteme'" - - "self.task.args['dest'] == '/tmp/deleteme'" + - "self.task.args['dest'] == 'vagrant@127.0.0.1:/tmp/deleteme'" - "self._play_context.shell == 'sh'" - "self._play_context.remote_addr == '127.0.0.1'" - "self._play_context.remote_user == 'vagrant'" diff --git a/test/units/plugins/action/fixtures/synchronize/basic_vagrant_become_cli/meta.yaml b/test/units/plugins/action/fixtures/synchronize/basic_vagrant_become_cli/meta.yaml index 89f1eeee117..728147ec218 100644 --- a/test/units/plugins/action/fixtures/synchronize/basic_vagrant_become_cli/meta.yaml +++ b/test/units/plugins/action/fixtures/synchronize/basic_vagrant_become_cli/meta.yaml @@ -23,7 +23,7 @@ asserts: - "self.task.args['_local_rsync_path'] == 'rsync'" - "self.task.args['dest_port'] == 2202" - "self.task.args['src'] == '/tmp/deleteme'" - - "self.task.args['dest'] == '/tmp/deleteme'" + - "self.task.args['dest'] == 'vagrant@127.0.0.1:/tmp/deleteme'" - "self._play_context.shell == 'sh'" - "self._play_context.remote_addr == '127.0.0.1'" - "self._play_context.remote_user == 'vagrant'" diff --git a/test/units/plugins/action/fixtures/synchronize/basic_vagrant_sudo/meta.yaml b/test/units/plugins/action/fixtures/synchronize/basic_vagrant_sudo/meta.yaml index 904a21a8ee6..15a3a1a06fc 100644 --- a/test/units/plugins/action/fixtures/synchronize/basic_vagrant_sudo/meta.yaml +++ b/test/units/plugins/action/fixtures/synchronize/basic_vagrant_sudo/meta.yaml @@ -20,7 +20,7 @@ asserts: - "self.task.args['_local_rsync_path'] == 'rsync'" - "self.task.args['dest_port'] == 2202" - "self.task.args['src'] == '/tmp/deleteme'" - - "self.task.args['dest'] == '/tmp/deleteme'" + - "self.task.args['dest'] == 'vagrant@127.0.0.1:/tmp/deleteme'" - "self._play_context.shell == 'sh'" - "self._play_context.remote_addr == '127.0.0.1'" - "self._play_context.remote_user == 'vagrant'"