mirror of
https://github.com/httprunner/httprunner.git
synced 2026-05-13 08:59:44 +08:00
test: update
This commit is contained in:
@@ -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"]
|
||||
|
||||
@@ -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")
|
||||
),
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user