move tests/data/debugtalk.py to tests/debugtalk.py

This commit is contained in:
httprunner
2018-05-07 15:19:14 +08:00
parent 1c7c65523e
commit 901eaab220
8 changed files with 37 additions and 8 deletions

View File

@@ -2,7 +2,11 @@
- config:
name: "create user and check result."
def: create_and_check($uid, $token)
request: $default_request
request:
"base_url": "http://127.0.0.1:5000"
"headers":
"Content-Type": "application/json"
"device_sn": "$device_sn"
output:
- token

View File

@@ -6,7 +6,11 @@
- device_sn: ${gen_random_string(15)}
- os_platform: 'ios'
- app_version: '2.8.6'
request: $default_request
request:
"base_url": "http://127.0.0.1:5000"
"headers":
"Content-Type": "application/json"
"device_sn": "$device_sn"
output:
- token