mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-10-23 20:44:00 -07:00
[PR #7196/40cad3e7 backport][stable-7] gconftool2: using yaml-specified unit tests (#7198)
gconftool2: using yaml-specified unit tests (#7196)
* gconftool2: using yaml-specified unit tests
* gconftool2_info: using yaml-specified unit tests
* adjust code for skip and xfail
(cherry picked from commit 40cad3e7a9)
Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>
This commit is contained in:
parent
16499072ff
commit
3785b656d6
6 changed files with 215 additions and 274 deletions
|
|
@ -381,6 +381,7 @@ TEST_CASES = [
|
|||
id="simple case",
|
||||
input={"name": ["hello-world"]},
|
||||
output=dict(changed=True, snaps_installed=["hello-world"]),
|
||||
flags={},
|
||||
run_command_calls=[
|
||||
RunCmdCall(
|
||||
command=['/testbin/snap', 'info', 'hello-world'],
|
||||
|
|
@ -409,6 +410,7 @@ TEST_CASES = [
|
|||
id="issue_6803",
|
||||
input={"name": ["microk8s", "kubectl"], "classic": True},
|
||||
output=dict(changed=True, snaps_installed=["microk8s", "kubectl"]),
|
||||
flags={},
|
||||
run_command_calls=[
|
||||
RunCmdCall(
|
||||
command=['/testbin/snap', 'info', 'microk8s', 'kubectl'],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue