mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-24 05:40:23 -07:00
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
This commit is contained in:
parent
41bd07e372
commit
40cad3e7a9
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