diff --git a/test/units/plugins/action/fixtures/synchronize/basic_become/meta.yaml b/test/units/plugins/action/fixtures/synchronize/basic_become/meta.yaml index c507b3271a..1ba3b4ab9b 100644 --- a/test/units/plugins/action/fixtures/synchronize/basic_become/meta.yaml +++ b/test/units/plugins/action/fixtures/synchronize/basic_become/meta.yaml @@ -25,7 +25,7 @@ asserts: - "self.execute_called" - "self.final_module_args['_local_rsync_path'] == 'rsync'" # this is a crucial aspect of this scenario ... - - "self.final_module_args['rsync_path'] == '\"sudo rsync\"'" + - "self.final_module_args['rsync_path'] == 'sudo rsync'" - "self.final_module_args['src'] == '/tmp/deleteme'" - "self.final_module_args['dest'] == 'root@el6host:/tmp/deleteme'" - "self.task.become == True" diff --git a/test/units/plugins/action/fixtures/synchronize/basic_become/task_args_out.json b/test/units/plugins/action/fixtures/synchronize/basic_become/task_args_out.json index c1aff9c33c..27f8e2581c 100644 --- a/test/units/plugins/action/fixtures/synchronize/basic_become/task_args_out.json +++ b/test/units/plugins/action/fixtures/synchronize/basic_become/task_args_out.json @@ -1,6 +1,6 @@ { "dest": "root@el6host:/tmp/deleteme", "src": "/tmp/deleteme", - "rsync_path": "\"sudo rsync\"", + "rsync_path": "sudo rsync", "_local_rsync_path": "rsync" -} \ No newline at end of file +} diff --git a/test/units/plugins/action/fixtures/synchronize/basic_become_cli/meta.yaml b/test/units/plugins/action/fixtures/synchronize/basic_become_cli/meta.yaml index ae8b295df2..5e558012a5 100644 --- a/test/units/plugins/action/fixtures/synchronize/basic_become_cli/meta.yaml +++ b/test/units/plugins/action/fixtures/synchronize/basic_become_cli/meta.yaml @@ -25,7 +25,7 @@ asserts: - "self.execute_called" - "self.final_module_args['_local_rsync_path'] == 'rsync'" # this is a crucial aspect of this scenario ... - - "self.final_module_args['rsync_path'] == '\"sudo rsync\"'" + - "self.final_module_args['rsync_path'] == 'sudo rsync'" - "self.final_module_args['src'] == '/tmp/deleteme'" - "self.final_module_args['dest'] == 'root@el6host:/tmp/deleteme'" - "self.task.become == None" diff --git a/test/units/plugins/action/fixtures/synchronize/basic_become_cli/task_args_out.json b/test/units/plugins/action/fixtures/synchronize/basic_become_cli/task_args_out.json index c1aff9c33c..27f8e2581c 100644 --- a/test/units/plugins/action/fixtures/synchronize/basic_become_cli/task_args_out.json +++ b/test/units/plugins/action/fixtures/synchronize/basic_become_cli/task_args_out.json @@ -1,6 +1,6 @@ { "dest": "root@el6host:/tmp/deleteme", "src": "/tmp/deleteme", - "rsync_path": "\"sudo rsync\"", + "rsync_path": "sudo rsync", "_local_rsync_path": "rsync" -} \ No newline at end of file +} diff --git a/test/units/plugins/action/fixtures/synchronize/delegate_remote_su/task_args_out.json b/test/units/plugins/action/fixtures/synchronize/delegate_remote_su/task_args_out.json index f1f25ddac1..57257dbd5b 100644 --- a/test/units/plugins/action/fixtures/synchronize/delegate_remote_su/task_args_out.json +++ b/test/units/plugins/action/fixtures/synchronize/delegate_remote_su/task_args_out.json @@ -1,6 +1,6 @@ { "dest": "el6host:/tmp/deleteme", "src": "/tmp/deleteme", - "rsync_path": "\"sudo rsync\"", + "rsync_path": "sudo rsync", "_local_rsync_path": "rsync" -} \ No newline at end of file +}