mirror of
https://github.com/ansible-collections/ansible.posix.git
synced 2026-01-12 07:35:31 +01:00
[DNM] Confirming unit test for synchronize plugin
Signed-off-by: Hideki Saito <saito@fgrep.org>
This commit is contained in:
parent
3ab812953f
commit
07e4b2104e
2 changed files with 8 additions and 0 deletions
3
changelogs/fragments/351_dnm_unit_test.yml
Normal file
3
changelogs/fragments/351_dnm_unit_test.yml
Normal file
|
|
@ -0,0 +1,3 @@
|
||||||
|
---
|
||||||
|
trivial:
|
||||||
|
- confirming unit tet for synchronize.
|
||||||
|
|
@ -43,6 +43,10 @@ with open('task_vars.json', 'wb') as f:
|
||||||
'''
|
'''
|
||||||
|
|
||||||
|
|
||||||
|
class Dummy(object):
|
||||||
|
pass
|
||||||
|
|
||||||
|
|
||||||
class BreakPoint(Exception):
|
class BreakPoint(Exception):
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
|
@ -55,6 +59,7 @@ class TaskMock(object):
|
||||||
become = None
|
become = None
|
||||||
become_user = None
|
become_user = None
|
||||||
become_method = None
|
become_method = None
|
||||||
|
check_mode = False
|
||||||
|
|
||||||
|
|
||||||
class StdinMock(object):
|
class StdinMock(object):
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue