Skip to content

Commit

Permalink
Fix bad expressions in tests. (#711) (#712)
Browse files Browse the repository at this point in the history
ci_complete

(cherry picked from commit b8afdc5)
  • Loading branch information
felixfontein authored Nov 28, 2023
1 parent 1bdf09a commit 4e172e3
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@

- name: assert container is returned when filters are matched (single label)
assert:
that: "{{ output.containers | length }} == 1"
that: "output.containers | length == 1"

- name: Get info on Docker host and list containers matching filters (multiple labels)
docker_host_info:
Expand All @@ -88,7 +88,7 @@

- name: assert container is returned when filters are matched (multiple labels)
assert:
that: "{{ output.containers | length }} == 1"
that: "output.containers | length == 1"

- name: Get info on Docker host and do not list containers which do not match filters
docker_host_info:
Expand All @@ -102,7 +102,7 @@

- name: assert no container is returned when filters are not matched
assert:
that: "{{ output.containers | length }} == 0"
that: "output.containers | length == 0"

- name: Get info on Docker host and list containers with verbose output
docker_host_info:
Expand Down

0 comments on commit 4e172e3

Please sign in to comment.