From 59283322e755b5ab82cb4c6cff2ca60119aea711 Mon Sep 17 00:00:00 2001 From: Jhon Honce Date: Mon, 12 Apr 2021 09:33:51 -0700 Subject: [CI:DOCS] Correct status code for /pods/create Swagger documentation reported that the API endpoint /pods/create returned 200 while the as-built code returned 201. 201 is more correct so documentation updated. Tests already checked for 201 so no updated needed. Signed-off-by: Jhon Honce --- test/apiv2/rest_api/test_rest_v2_0_0.py | 1 + 1 file changed, 1 insertion(+) (limited to 'test/apiv2') diff --git a/test/apiv2/rest_api/test_rest_v2_0_0.py b/test/apiv2/rest_api/test_rest_v2_0_0.py index 97336cb71..bf0ee0603 100644 --- a/test/apiv2/rest_api/test_rest_v2_0_0.py +++ b/test/apiv2/rest_api/test_rest_v2_0_0.py @@ -735,5 +735,6 @@ class TestApi(unittest.TestCase): r = requests.get(_url("/system/df")) self.assertEqual(r.status_code, 200, r.text) + if __name__ == "__main__": unittest.main() -- cgit v1.2.3-54-g00ecf