diff --git a/changelogs/fragments/351_dnm_unit_test.yml b/changelogs/fragments/351_dnm_unit_test.yml new file mode 100644 index 0000000..54951d0 --- /dev/null +++ b/changelogs/fragments/351_dnm_unit_test.yml @@ -0,0 +1,3 @@ +--- +trivial: +- confirming unit tet for synchronize. diff --git a/tests/unit/plugins/action/test_synchronize.py b/tests/unit/plugins/action/test_synchronize.py index bc1efca..d4124a2 100644 --- a/tests/unit/plugins/action/test_synchronize.py +++ b/tests/unit/plugins/action/test_synchronize.py @@ -43,6 +43,10 @@ with open('task_vars.json', 'wb') as f: ''' +class Dummy(object): + pass + + class BreakPoint(Exception): pass @@ -55,6 +59,7 @@ class TaskMock(object): become = None become_user = None become_method = None + check_mode = False class StdinMock(object):