From 4d2ce5aff3aab06691996966e2fa7dbb34fd0dc8 Mon Sep 17 00:00:00 2001 From: debugtalk Date: Sat, 7 Mar 2020 23:06:29 +0800 Subject: [PATCH] fix unittests --- httprunner/app/routers/debug_test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/httprunner/app/routers/debug_test.py b/httprunner/app/routers/debug_test.py index 0be91592..2c5198ef 100644 --- a/httprunner/app/routers/debug_test.py +++ b/httprunner/app/routers/debug_test.py @@ -48,4 +48,4 @@ class TestDebug(unittest.TestCase): } response = client.post("/hrun/debug/testcase", json=json_data) assert response.status_code == 200 - assert response.json()["code"] == 1 + assert response.json()["code"] == 0