deprecate import_module_items

This commit is contained in:
httprunner
2018-07-26 15:08:04 +08:00
parent 4499f98e82
commit 7ed962e803
5 changed files with 33 additions and 58 deletions

View File

@@ -25,16 +25,6 @@ bind_lambda_functions_with_import:
- data: "{'name': 'user', 'password': '123456'}"
- authorization: ${gen_md5($TOKEN, $data, $random)}
bind_module_functions:
function_binds:
import_module_items:
- tests.data.debugtalk
variables:
- TOKEN: debugtalk
- random: ${gen_random_string(5)}
- data: "{'name': 'user', 'password': '123456'}"
- authorization: ${gen_md5($TOKEN, $data, $random)}
builtin_functions:
variables:
- length: ${len(debugtalk)}

View File

@@ -1,7 +1,5 @@
- config:
name: "create user testsets."
import_module_items:
- tests.debugtalk
variables:
- user_agent: 'iOS/10.3'
- device_sn: ${gen_random_string(15)}