From 4f685a6d81fa50ce9e6f65106f8ded19bb187436 Mon Sep 17 00:00:00 2001 From: debugtalk Date: Mon, 29 Jun 2020 20:25:19 +0800 Subject: [PATCH] test: update --- examples/httpbin/hooks.yml | 1 - examples/httpbin/hooks_test.py | 1 - 2 files changed, 2 deletions(-) diff --git a/examples/httpbin/hooks.yml b/examples/httpbin/hooks.yml index 250a7a8f..23f0ba57 100644 --- a/examples/httpbin/hooks.yml +++ b/examples/httpbin/hooks.yml @@ -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"] diff --git a/examples/httpbin/hooks_test.py b/examples/httpbin/hooks_test.py index 36d134e0..86a1b0d7 100644 --- a/examples/httpbin/hooks_test.py +++ b/examples/httpbin/hooks_test.py @@ -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") ), ]