mirror of
https://github.com/httprunner/httprunner.git
synced 2026-06-01 05:49:40 +08:00
change: update unit tests for removing v1 format
This commit is contained in:
@@ -1,34 +1,30 @@
|
||||
[
|
||||
{
|
||||
"config": {
|
||||
"id": "create_user",
|
||||
"variables": {
|
||||
"device_sn": "TESTCASE_CREATE_XXX",
|
||||
"uid": 9001
|
||||
},
|
||||
"output": [
|
||||
"session_token"
|
||||
],
|
||||
"base_url": "http://127.0.0.1:5000",
|
||||
"name": "create user and check result."
|
||||
}
|
||||
{
|
||||
"config": {
|
||||
"id": "create_user",
|
||||
"variables": {
|
||||
"device_sn": "TESTCASE_CREATE_XXX",
|
||||
"uid": 9001
|
||||
},
|
||||
"output": [
|
||||
"session_token"
|
||||
],
|
||||
"base_url": "http://127.0.0.1:5000",
|
||||
"name": "create user and check result."
|
||||
},
|
||||
{
|
||||
"test": {
|
||||
"teststeps": [
|
||||
{
|
||||
"testcase": "testcases/setup.yml",
|
||||
"extract": [
|
||||
"session_token"
|
||||
],
|
||||
"name": "setup and reset all (override) for $device_sn."
|
||||
}
|
||||
},
|
||||
{
|
||||
"test": {
|
||||
},
|
||||
{
|
||||
"testcase": "testcases/deps/check_and_create.yml",
|
||||
"variables": {
|
||||
"token": "$session_token"
|
||||
},
|
||||
"name": "create user and check result."
|
||||
}
|
||||
}
|
||||
]
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user