Fix synchronize unit test to handle checkmode

pull/5907/merge
James Tanner 11 years ago
parent 9209581565
commit e121ff111d

@ -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

Loading…
Cancel
Save