mirror of
https://github.com/httprunner/httprunner.git
synced 2026-08-28 03:30:01 +08:00
change: update unit tests for removing v1 format
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
- config:
|
||||
config:
|
||||
name: "create user and check result."
|
||||
id: create_and_check
|
||||
base_url: "http://127.0.0.1:5000"
|
||||
@@ -6,7 +6,8 @@
|
||||
uid: 9001
|
||||
device_sn: "TESTCASE_CREATE_XXX"
|
||||
|
||||
- test:
|
||||
teststeps:
|
||||
-
|
||||
name: make sure user $uid does not exist
|
||||
api: api/get_user.yml
|
||||
variables:
|
||||
@@ -16,7 +17,7 @@
|
||||
- eq: ["status_code", 404]
|
||||
- eq: ["content.success", false]
|
||||
|
||||
- test:
|
||||
-
|
||||
name: create user $uid for $device_sn
|
||||
api: api/create_user.yml
|
||||
variables:
|
||||
@@ -28,7 +29,7 @@
|
||||
- eq: ["status_code", 201]
|
||||
- eq: ["content.success", true]
|
||||
|
||||
- test:
|
||||
-
|
||||
name: check if user $uid exists
|
||||
api: api/get_user.yml
|
||||
variables:
|
||||
|
||||
Reference in New Issue
Block a user