Added check_mode attr to synchronize plugin test

* Added check_mode attribute to TaskMock class in the unit test for
  synchronize plugin
* Fixes #352

Signed-off-by: Hideki Saito <saito@fgrep.org>
This commit is contained in:
Hideki Saito 2022-04-22 14:07:37 +09:00
parent 3ab812953f
commit c520b68276
2 changed files with 4 additions and 0 deletions

View file

@ -0,0 +1,3 @@
---
trivial:
- CI tests - added check_mode attribute to TaskMock class for synchronize plugin unit test (https://github.com/ansible-collections/ansible.posix/issues/352).

View file

@ -55,6 +55,7 @@ class TaskMock(object):
become = None
become_user = None
become_method = None
check_mode = False
class StdinMock(object):