From c28f975c869dcf11e56ea2839a677e9889595ef4 Mon Sep 17 00:00:00 2001 From: debugtalk Date: Tue, 16 Jan 2018 19:41:47 +0800 Subject: [PATCH] update version --- httprunner/__init__.py | 2 +- httprunner/testcase.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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]}] }