From ff19924a7d90d4e8987f9ca8cbe026d9b5f2415d Mon Sep 17 00:00:00 2001 From: Sloane Hertel <19572925+s-hertel@users.noreply.github.com> Date: Fri, 6 Aug 2021 19:35:09 -0400 Subject: [PATCH] Fix dnf test assertion (#75426) (#75428) (cherry picked from commit e23fdee45e7db82de15fd056b1e04253d3ce8b40) --- test/integration/targets/dnf/tasks/filters.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/integration/targets/dnf/tasks/filters.yml b/test/integration/targets/dnf/tasks/filters.yml index ce7c7e9bebd..2bff25bcd3e 100644 --- a/test/integration/targets/dnf/tasks/filters.yml +++ b/test/integration/targets/dnf/tasks/filters.yml @@ -109,7 +109,7 @@ - toaster-1.2.3.4-1.el8.noarch - assert: - that: "[0, 1, 2] | map('extract', installed.results, 'changed') == [False, False, False]" + that: "installed.results | map(attribute='changed') is not any" - name: Ask for pending updates with bugfix=true and security=true dnf: