diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2020-12-11 10:04:28 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-11 10:04:28 -0500 |
commit | 335c59e7dcd06429c56c0f58e859f7694fcbc891 (patch) | |
tree | 01f45e8bef7d62f8dfc8a6f677a668c1b7bfa142 /test | |
parent | dd954781e6e308a0bbecfaf6699b41426100a58d (diff) | |
parent | 2a35387e9e7e94ae8192f4fc6bda4673b053cd99 (diff) | |
download | podman-335c59e7dcd06429c56c0f58e859f7694fcbc891.tar.gz podman-335c59e7dcd06429c56c0f58e859f7694fcbc891.tar.bz2 podman-335c59e7dcd06429c56c0f58e859f7694fcbc891.zip |
Merge pull request #8691 from Luap99/network-compat
Fix some network compat api problems
Diffstat (limited to 'test')
-rw-r--r-- | test/apiv2/35-networks.at | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/test/apiv2/35-networks.at b/test/apiv2/35-networks.at index 0ce56ee3c..5327bd076 100644 --- a/test/apiv2/35-networks.at +++ b/test/apiv2/35-networks.at @@ -50,7 +50,13 @@ t GET networks?filters=%7B%22dangling%22%3A%5B%221%22%5D%7D 500 \ # network inspect docker t GET networks/a7662f44d65029fd4635c91feea3d720a57cef52e2a9fcc7772b69072cc1ccd1 200 \ .Name=network1 \ -.Id=a7662f44d65029fd4635c91feea3d720a57cef52e2a9fcc7772b69072cc1ccd1 +.Id=a7662f44d65029fd4635c91feea3d720a57cef52e2a9fcc7772b69072cc1ccd1 \ +.Scope=local + +# network create docker +t POST networks/create '"Name":"net3","IPAM":{"Config":[]}' 201 +# network delete docker +t DELETE networks/net3 204 # clean the network t DELETE libpod/networks/network1 200 \ |