diff options
author | Jhon Honce <jhonce@redhat.com> | 2020-05-27 15:51:24 -0700 |
---|---|---|
committer | Jhon Honce <jhonce@redhat.com> | 2020-05-28 16:20:29 -0700 |
commit | 5626c2163bff661540e1ae3a5df25f0c7e7573f6 (patch) | |
tree | c5fe7993722f72f96b2f49b1ce47e2bb99adc531 /test/apiv2/40-pods.at | |
parent | e8818ced806910f8ce44939fef08f89139be4119 (diff) | |
download | podman-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/40-pods.at')
-rw-r--r-- | test/apiv2/40-pods.at | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/apiv2/40-pods.at b/test/apiv2/40-pods.at index 26877a102..2dea1918a 100644 --- a/test/apiv2/40-pods.at +++ b/test/apiv2/40-pods.at @@ -5,8 +5,8 @@ t GET "libpod/pods/json (clean slate at start)" 200 null -t POST libpod/pods/create name=foo 201 .id~[0-9a-f]\\{64\\} -pod_id=$(jq -r .id <<<"$output") +t POST libpod/pods/create name=foo 201 .Id~[0-9a-f]\\{64\\} +pod_id=$(jq -r .Id <<<"$output") t GET libpod/pods/foo/exists 204 t GET libpod/pods/$pod_id/exists 204 t GET libpod/pods/notfoo/exists 404 |