summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorzhangguanzhang <zhangguanzhang@qq.com>2020-08-02 21:08:13 +0800
committerValentin Rothberg <rothberg@redhat.com>2020-08-11 13:53:23 +0200
commit8931e99a18cc168ebee07bb72b62849815af7434 (patch)
tree9ed8bf6344ae3c6e3d629f94b868997c34398bb3 /test
parentc24c64e89e8a32b4fa24385aa540ee00f5d0c991 (diff)
downloadpodman-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.at8
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