Commit e121ff11 by James Tanner

Fix synchronize unit test to handle checkmode

parent 92095815
......@@ -17,6 +17,7 @@ class FakeRunner(object):
self.sudo = None
self.remote_user = None
self.private_key_file = None
self.check = False
def _execute_module(self, conn, tmp, module_name, args, inject=None):
self.executed_conn = conn
......@@ -25,6 +26,9 @@ class FakeRunner(object):
self.executed_args = args
self.executed_inject = inject
def noop_on_check(self, inject):
return self.check
class FakeConn(object):
def __init__(self):
self.host = None
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment