diff options
author | zhangguanzhang <zhangguanzhang@qq.com> | 2020-08-02 21:08:13 +0800 |
---|---|---|
committer | Valentin Rothberg <rothberg@redhat.com> | 2020-08-11 13:53:23 +0200 |
commit | 8931e99a18cc168ebee07bb72b62849815af7434 (patch) | |
tree | 9ed8bf6344ae3c6e3d629f94b868997c34398bb3 /test | |
parent | c24c64e89e8a32b4fa24385aa540ee00f5d0c991 (diff) | |
download | podman-8931e99a18cc168ebee07bb72b62849815af7434.tar.gz podman-8931e99a18cc168ebee07bb72b62849815af7434.tar.bz2 podman-8931e99a18cc168ebee07bb72b62849815af7434.zip |
API returns 500 in case network is not found instead of 404
Backported-by: Valentin Rothberg <rothberg@redhat.com>
Signed-off-by: zhangguanzhang <zhangguanzhang@qq.com>
Diffstat (limited to 'test')
-rw-r--r-- | test/apiv2/35-networks.at | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/apiv2/35-networks.at b/test/apiv2/35-networks.at new file mode 100644 index 000000000..fff3f3b1f --- /dev/null +++ b/test/apiv2/35-networks.at @@ -0,0 +1,8 @@ +# -*- sh -*- +# +# network-related tests +# + +t GET /networks/non-existing-network 404 + +# vim: filetype=sh |