diff --git a/tests/callback_plugins/dump_packages.py b/tests/callback_plugins/dump_packages.py index 15aa6db..89a343d 100644 --- a/tests/callback_plugins/dump_packages.py +++ b/tests/callback_plugins/dump_packages.py @@ -40,7 +40,10 @@ def __init__(self, *args, **kwargs): def v2_runner_on_ok(self, result): fields = result._task_fields - if fields["action"] == "package" and fields["args"].get("state") != "absent": + if ( + fields["action"] in ["package", "dnf", "yum"] + and fields["args"].get("state") != "absent" + ): packages = set() if "invocation" in result._result: results = [result._result]