fix #942: type_match None

This commit is contained in:
debugtalk
2020-06-21 15:04:04 +08:00
parent 6710eba1fc
commit 2b75d78df0
5 changed files with 19 additions and 1 deletions

View File

@@ -57,6 +57,9 @@ class TestCaseRequestWithFunctions(HttpRunner):
"body.data",
"This is expected to be sent back as part of response body: bar12-$expect_foo2-bar21.",
)
.assert_type_match("body.json", "None")
.assert_type_match("body.json", "NoneType")
.assert_type_match("body.json", None)
),
Step(
RunRequest("post form data")