mirror of
https://github.com/httprunner/httprunner.git
synced 2026-09-05 15:37:35 +08:00
docs: update changelog
This commit is contained in:
@@ -9,6 +9,9 @@
|
|||||||
**Fixed**
|
**Fixed**
|
||||||
|
|
||||||
- fix #942: type_match None
|
- fix #942: type_match None
|
||||||
|
- fix: override referenced testcase export in teststep
|
||||||
|
- fix: avoid duplicate import
|
||||||
|
- fix: override locust weight
|
||||||
|
|
||||||
## 3.1.0 (2020-06-21)
|
## 3.1.0 (2020-06-21)
|
||||||
|
|
||||||
|
|||||||
+4
-1
@@ -57,6 +57,9 @@ class TestCaseRequestWithFunctions(HttpRunner):
|
|||||||
"body.data",
|
"body.data",
|
||||||
"This is expected to be sent back as part of response body: bar12-$expect_foo2-bar21.",
|
"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(
|
Step(
|
||||||
RunRequest("post form data")
|
RunRequest("post form data")
|
||||||
@@ -70,7 +73,7 @@ class TestCaseRequestWithFunctions(HttpRunner):
|
|||||||
)
|
)
|
||||||
.with_data("foo1=$foo1&foo2=$foo2&foo3=$foo3")
|
.with_data("foo1=$foo1&foo2=$foo2&foo3=$foo3")
|
||||||
.validate()
|
.validate()
|
||||||
.assert_equal("status_code", 200)
|
.assert_equal("status_code", 200, "response status code should be 200")
|
||||||
.assert_equal("body.form.foo1", "$expect_foo1")
|
.assert_equal("body.form.foo1", "$expect_foo1")
|
||||||
.assert_equal("body.form.foo2", "bar23")
|
.assert_equal("body.form.foo2", "bar23")
|
||||||
.assert_equal("body.form.foo3", "bar21")
|
.assert_equal("body.form.foo3", "bar21")
|
||||||
|
|||||||
Reference in New Issue
Block a user