summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSloane Hertel <19572925+s-hertel@users.noreply.github.com>2021-08-06 19:35:09 -0400
committerGitHub <noreply@github.com>2021-08-06 16:35:09 -0700
commitff19924a7d90d4e8987f9ca8cbe026d9b5f2415d (patch)
tree4d356ac452b98f1ca31babb574cfcf6d52cd91bf
parentc1dd0caf2a4494ec25d15712ebb5a7a9278e53df (diff)
downloadansible-ff19924a7d90d4e8987f9ca8cbe026d9b5f2415d.tar.gz
Fix dnf test assertion (#75426) (#75428)
(cherry picked from commit e23fdee45e7db82de15fd056b1e04253d3ce8b40)
-rw-r--r--test/integration/targets/dnf/tasks/filters.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/integration/targets/dnf/tasks/filters.yml b/test/integration/targets/dnf/tasks/filters.yml
index ce7c7e9beb..2bff25bcd3 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: