summaryrefslogtreecommitdiff
path: root/test/apiv2/10-images.at
diff options
context:
space:
mode:
authorJhon Honce <jhonce@redhat.com>2020-05-27 15:51:24 -0700
committerJhon Honce <jhonce@redhat.com>2020-05-28 16:20:29 -0700
commit5626c2163bff661540e1ae3a5df25f0c7e7573f6 (patch)
treec5fe7993722f72f96b2f49b1ce47e2bb99adc531 /test/apiv2/10-images.at
parente8818ced806910f8ce44939fef08f89139be4119 (diff)
downloadpodman-5626c2163bff661540e1ae3a5df25f0c7e7573f6.tar.gz
podman-5626c2163bff661540e1ae3a5df25f0c7e7573f6.tar.bz2
podman-5626c2163bff661540e1ae3a5df25f0c7e7573f6.zip
V2 verify JSON output is consistent and doesn't drift
$ cd test/apiv2 $ python -m unittest -v test_rest_v1_0_0.TestApi Signed-off-by: Jhon Honce <jhonce@redhat.com>
Diffstat (limited to 'test/apiv2/10-images.at')
-rw-r--r--test/apiv2/10-images.at6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/apiv2/10-images.at b/test/apiv2/10-images.at
index 2a1eaf8be..1c7ba8948 100644
--- a/test/apiv2/10-images.at
+++ b/test/apiv2/10-images.at
@@ -7,15 +7,15 @@
podman pull -q $IMAGE
t GET libpod/images/json 200 \
- .[0].ID~[0-9a-f]\\{64\\}
-iid=$(jq -r '.[0].ID' <<<"$output")
+ .[0].Id~[0-9a-f]\\{64\\}
+iid=$(jq -r '.[0].Id' <<<"$output")
t GET libpod/images/$iid/exists 204
t GET libpod/images/$PODMAN_TEST_IMAGE_NAME/exists 204
# FIXME: compare to actual podman info
t GET libpod/images/json 200 \
- .[0].ID=${iid}
+ .[0].Id=${iid}
t GET libpod/images/$iid/json 200 \
.Id=$iid \