diff --git a/httprunner/__init__.py b/httprunner/__init__.py index ff27c5be..5b0e9362 100644 --- a/httprunner/__init__.py +++ b/httprunner/__init__.py @@ -1 +1 @@ -__version__ = '0.8.7' \ No newline at end of file +__version__ = '0.8.8' \ No newline at end of file diff --git a/httprunner/testcase.py b/httprunner/testcase.py index e1c221e4..734b8221 100644 --- a/httprunner/testcase.py +++ b/httprunner/testcase.py @@ -310,7 +310,7 @@ def extend_test_api(test_block_dict): @return { "name": "get token", - "api": "get_token($user_agent, $device_sn, $os_platform, $app_version)", + "request": {...}, "extract": [{"token": "content.token"}], "validate": [{'eq': ['status_code', 200]}, {'len_eq': ['content.token', 16]}] }