summaryrefslogtreecommitdiff
path: root/test/apiv2
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2021-03-16 11:31:33 +0100
committerGitHub <noreply@github.com>2021-03-16 11:31:33 +0100
commit0f954e2371265c1da2a337172c390eaae3a04229 (patch)
tree1b53295917b1e37a2337f93e60510206529f3f29 /test/apiv2
parentd9f84692c13406f7e4e22d4bb16db4e8a7d086ab (diff)
parent7b0155cf780f396f6ffc4455ae5825f5fc14ca79 (diff)
downloadpodman-0f954e2371265c1da2a337172c390eaae3a04229.tar.gz
podman-0f954e2371265c1da2a337172c390eaae3a04229.tar.bz2
podman-0f954e2371265c1da2a337172c390eaae3a04229.zip
Merge pull request #9695 from jmguzik/array-inspect-network-fix
Fix array instead of one elem network http api
Diffstat (limited to 'test/apiv2')
-rw-r--r--test/apiv2/35-networks.at4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/apiv2/35-networks.at b/test/apiv2/35-networks.at
index 98786e914..ce7ca628a 100644
--- a/test/apiv2/35-networks.at
+++ b/test/apiv2/35-networks.at
@@ -30,6 +30,10 @@ t GET libpod/networks/json?filters='{"name":["network1"]}' 200 \
.[0].Name=network1
t GET networks 200
+#inspect network
+t GET libpod/networks/network1/json 200 \
+ .name="network1"
+
#network list docker endpoint
t GET networks?filters='{"name":["network1","network2"]}' 200 \
length=2