Fix bad expressions in tests. (#711) (#712)

ci_complete

(cherry picked from commit b8afdc52b1)
This commit is contained in:
Felix Fontein 2023-11-28 23:11:24 +01:00 committed by GitHub
parent 1bdf09a81d
commit 4e172e3111
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -75,7 +75,7 @@
- name: assert container is returned when filters are matched (single label) - name: assert container is returned when filters are matched (single label)
assert: assert:
that: "{{ output.containers | length }} == 1" that: "output.containers | length == 1"
- name: Get info on Docker host and list containers matching filters (multiple labels) - name: Get info on Docker host and list containers matching filters (multiple labels)
docker_host_info: docker_host_info:
@ -88,7 +88,7 @@
- name: assert container is returned when filters are matched (multiple labels) - name: assert container is returned when filters are matched (multiple labels)
assert: 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 - name: Get info on Docker host and do not list containers which do not match filters
docker_host_info: docker_host_info:
@ -102,7 +102,7 @@
- name: assert no container is returned when filters are not matched - name: assert no container is returned when filters are not matched
assert: assert:
that: "{{ output.containers | length }} == 0" that: "output.containers | length == 0"
- name: Get info on Docker host and list containers with verbose output - name: Get info on Docker host and list containers with verbose output
docker_host_info: docker_host_info: