From c7178019a9baf2bdad97591eee952f959e5af8bb Mon Sep 17 00:00:00 2001 From: Valentin Kuznetsov Date: Mon, 22 Jan 2024 08:49:09 -0500 Subject: [PATCH] adjust table tests --- data/int_datasets.json | 13 +++++++++++++ data/int_files.json | 4 ++-- 2 files changed, 15 insertions(+), 2 deletions(-) diff --git a/data/int_datasets.json b/data/int_datasets.json index 5e2499c..359b0f5 100644 --- a/data/int_datasets.json +++ b/data/int_datasets.json @@ -27,6 +27,18 @@ "method": "GET", "endpoint": "/dataset", "url": "/dataset?dataset=/x/y/z", + "output": ["/x/y/z"], + "verbose": 0, + "code": 200 + }, + { + "description": "test dataset GET API", + "method": "GET", + "endpoint": "/dataset", + "url": "/dataset?dataset=/x/y/z", + "output": ["bla=/x/y/z"], + "fail": true, + "verbose": 0, "code": 200 }, { @@ -34,6 +46,7 @@ "method": "GET", "endpoint": "/dataset", "url": "/dataset?bla=/x/y/zzzz", + "verbose": 0, "code": 400 } ] diff --git a/data/int_files.json b/data/int_files.json index 6df6baf..aa56b9e 100644 --- a/data/int_files.json +++ b/data/int_files.json @@ -5,7 +5,7 @@ "endpoint": "/file", "url": "/file?dataset=/x/y/z", "output": ["/x/y/z/file1.png", "/x/y/z/file3.png"], - "verbose": 2, + "verbose": 0, "code": 200 }, { @@ -15,7 +15,7 @@ "url": "/file?dataset=/x/y/z", "output": ["bla.png"], "fail": true, - "verbose": 2, + "verbose": 0, "code": 200 } ]