diff options
author | baude <bbaude@redhat.com> | 2021-03-02 14:56:01 -0600 |
---|---|---|
committer | baude <bbaude@redhat.com> | 2021-03-03 08:16:58 -0600 |
commit | 8f2192922d105d6bbcae1fdc6fe0369da07a33aa (patch) | |
tree | a1a282e06057f7609b387733dee12bbba2605b30 /test | |
parent | 0c12478a387d31796214150ec82d4d8103ad303c (diff) | |
download | podman-8f2192922d105d6bbcae1fdc6fe0369da07a33aa.tar.gz podman-8f2192922d105d6bbcae1fdc6fe0369da07a33aa.tar.bz2 podman-8f2192922d105d6bbcae1fdc6fe0369da07a33aa.zip |
Add network summary to compat ps
The compatibility endpoint for listing containers should have the
summarized network configuration with it.
Fixes: #9529
Signed-off-by: baude <bbaude@redhat.com>
Diffstat (limited to 'test')
-rw-r--r-- | test/apiv2/20-containers.at | 7 |
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 \ |