test: update

This commit is contained in:
debugtalk
2020-06-29 20:25:19 +08:00
parent 289afe19a0
commit 4f685a6d81
2 changed files with 0 additions and 2 deletions

View File

@@ -33,5 +33,4 @@ teststeps:
validate:
- eq: ["status_code", 500]
- eq: [headers."Content-Type", "html/text"]
- eq: [body.headers."Content-Type", "application/json"]
- eq: [body.headers.Host, "127.0.0.1:8888"]

View File

@@ -26,7 +26,6 @@ class TestCaseHooks(HttpRunner):
.validate()
.assert_equal("status_code", 500)
.assert_equal('headers."Content-Type"', "html/text")
.assert_equal('body.headers."Content-Type"', "application/json")
.assert_equal("body.headers.Host", "127.0.0.1:8888")
),
]