From c2f50499c9e344a4bff56719fe66fa846ae3064d Mon Sep 17 00:00:00 2001 From: Ed Santiago Date: Fri, 17 Jan 2020 08:44:40 -0700 Subject: Tests for API v2 Initial framework for testing the version 2 (HTTP) API. Includes a collection of tests for some of the existing endpoints. Not all tests are currently passing. Signed-off-by: Ed Santiago --- test/apiv2/30-volumes.at | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 test/apiv2/30-volumes.at (limited to 'test/apiv2/30-volumes.at') diff --git a/test/apiv2/30-volumes.at b/test/apiv2/30-volumes.at new file mode 100644 index 000000000..b599680e3 --- /dev/null +++ b/test/apiv2/30-volumes.at @@ -0,0 +1,14 @@ +# -*- sh -*- +# +# volume-related tests +# + +# +# FIXME: endpoints seem to be unimplemented, return 404 +# +if false; then +t GET libpod/volumes/json 200 null +t POST libpod/volumes/create name=foo 201 +fi + +# vim: filetype=sh -- cgit v1.2.3-54-g00ecf