mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-26 20:31:27 -07:00
File attributes (#18213)
* added attributes to base file params * dont change attributes when none * fixed test to deal with new attributes
This commit is contained in:
parent
7a33c14782
commit
a0f27d552c
3 changed files with 100 additions and 1 deletions
|
@ -422,6 +422,7 @@ class TestModuleUtilsBasic(ModuleTestCase):
|
|||
final_params.update(dict(
|
||||
path = '/path/to/real_file',
|
||||
secontext=['unconfined_u', 'object_r', 'default_t', 's0'],
|
||||
attributes=None,
|
||||
))
|
||||
|
||||
# with the proper params specified, the returned dictionary should represent
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue