Merge pull request #353 from saito-hideki/pr/ci_fix_unittest_for_synchronize

[CI] Added check_mode attr to synchronize plugin unit test

SUMMARY
Added check_mode attr to synchronize plugin unit test:

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

ISSUE TYPE

CI tests Pull Request

COMPONENT NAME

ansible.posix.tests.unit
This commit is contained in:
softwarefactory-project-zuul[bot] 2022-04-22 06:29:25 +00:00 committed by GitHub
commit dc4da60aff
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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):