Skip to content

Commit

Permalink
Fix synchronize tests for the updated quoting change between action a…
Browse files Browse the repository at this point in the history
…nd module
  • Loading branch information
abadger committed Mar 28, 2017
1 parent 7720ef8 commit b0d75a0
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"dest": "root@el6host:/tmp/deleteme",
"src": "/tmp/deleteme",
"rsync_path": "\"sudo rsync\"",
"rsync_path": "sudo rsync",
"_local_rsync_path": "rsync"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"dest": "root@el6host:/tmp/deleteme",
"src": "/tmp/deleteme",
"rsync_path": "\"sudo rsync\"",
"rsync_path": "sudo rsync",
"_local_rsync_path": "rsync"
}
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"dest": "el6host:/tmp/deleteme",
"src": "/tmp/deleteme",
"rsync_path": "\"sudo rsync\"",
"rsync_path": "sudo rsync",
"_local_rsync_path": "rsync"
}
}

0 comments on commit b0d75a0

Please sign in to comment.