1
0
mirror of https://github.com/ansible-collections/community.general.git synced 2025-07-21 23:42:08 +03:00

Applying ModuleHelper variable mgmt to xfconf -> improvements on MH (#2188)

* applying MH variable mgmt to xfconf - improvements on MH

* added changelog fragment
This commit is contained in:
Alexei Znamensky
2021-04-07 07:21:05 +12:00
committed by GitHub
parent 9a5191d1f9
commit 9aec9b502e
4 changed files with 48 additions and 44 deletions

View File

@ -109,7 +109,7 @@ def test_dependency_ctxmgr():
def test_variable_meta():
meta = VarMeta()
assert meta.output is False
assert meta.output is True
assert meta.diff is False
assert meta.value is None
meta.set_value("abc")
@ -124,7 +124,7 @@ def test_variable_meta():
def test_variable_meta_diff():
meta = VarMeta(diff=True)
assert meta.output is False
assert meta.output is True
assert meta.diff is True
assert meta.value is None
meta.set_value("abc")