summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2021-03-01 16:28:51 +0100
committerGitHub <noreply@github.com>2021-03-01 16:28:51 +0100
commitb5827d80d39f2a9865d7f6486d63e61d5c9926ef (patch)
tree706a267dd78bbbaef03d6ed0151a029c3342f637 /test
parentb154c519ace790f4e0ada60b6e0c6985cf213acb (diff)
parentf54ed7269a99b26a6c8d14c1a0f7be8f038d10ba (diff)
downloadpodman-b5827d80d39f2a9865d7f6486d63e61d5c9926ef.tar.gz
podman-b5827d80d39f2a9865d7f6486d63e61d5c9926ef.tar.bz2
podman-b5827d80d39f2a9865d7f6486d63e61d5c9926ef.zip
Merge pull request #9531 from Luap99/fix-9526
compat api network ls accept both format options
Diffstat (limited to 'test')
-rw-r--r--test/apiv2/35-networks.at3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/apiv2/35-networks.at b/test/apiv2/35-networks.at
index 7ce109913..25a292cc5 100644
--- a/test/apiv2/35-networks.at
+++ b/test/apiv2/35-networks.at
@@ -38,6 +38,9 @@ length=2
# filters={"label":["abc"]}
t GET networks?filters=%7B%22label%22%3A%5B%22abc%22%5D%7D 200 \
length=1
+# filters={"label":{"abc":true}} old docker filter type see #9526
+t GET networks?filters=%7B%22label%22%3A%7B%22abc%22%3Atrue%7D%7D 200 \
+length=1
# id filter filters={"id":["a7662f44d65029fd4635c91feea3d720a57cef52e2a9fcc7772b69072cc1ccd1"]}
t GET networks?filters=%7B%22id%22%3A%5B%22a7662f44d65029fd4635c91feea3d720a57cef52e2a9fcc7772b69072cc1ccd1%22%5D%7D 200 \
length=1 \