summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2021-03-03 11:13:22 -0500
committerGitHub <noreply@github.com>2021-03-03 11:13:22 -0500
commit8a1955f4191ad2cfac4ad13d9f48293054d65e92 (patch)
tree35172cd03bff4994321cdb5578ab93f494fb9a3c /test
parent259bb5f7232432bce103c64cf1e68539ab7012e2 (diff)
parent8f2192922d105d6bbcae1fdc6fe0369da07a33aa (diff)
downloadpodman-8a1955f4191ad2cfac4ad13d9f48293054d65e92.tar.gz
podman-8a1955f4191ad2cfac4ad13d9f48293054d65e92.tar.bz2
podman-8a1955f4191ad2cfac4ad13d9f48293054d65e92.zip
Merge pull request #9581 from baude/issue9529
Add network summary to compat ps
Diffstat (limited to 'test')
-rw-r--r--test/apiv2/20-containers.at7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/apiv2/20-containers.at b/test/apiv2/20-containers.at
index 4b40fde80..18364a47d 100644
--- a/test/apiv2/20-containers.at
+++ b/test/apiv2/20-containers.at
@@ -31,6 +31,13 @@ t GET libpod/containers/json?all=true 200 \
.[0].ExitCode=0 \
.[0].IsInfra=false
+# Test compat API for Network Settings
+t GET /containers/json?all=true 200 \
+ length=1 \
+ .[0].Id~[0-9a-f]\\{64\\} \
+ .[0].Image=$IMAGE \
+ .[0].NetworkSettings.Networks.podman.NetworkID=podman
+
# Make sure `limit` works.
t GET libpod/containers/json?limit=1 200 \
length=1 \