validate: set expect as alias for expected

This commit is contained in:
httprunner
2017-11-13 20:56:46 +08:00
parent 75b15f2a79
commit b262ae5e5e
16 changed files with 117 additions and 114 deletions

View File

@@ -56,8 +56,8 @@ class TestRunner(ApiServerUnittest):
{"token": "content.token"}
],
"validate": [
{"check": "status_code", "comparator": "eq", "expected": 205},
{"check": "content.token", "comparator": "len_eq", "expected": 19}
{"check": "status_code", "expect": 205},
{"check": "content.token", "comparator": "len_eq", "expect": 19}
]
}