change: update unit tests for removing v1 format

This commit is contained in:
debugtalk
2020-04-09 12:06:34 +08:00
parent ae033b61e9
commit ee9eb4f1c4
37 changed files with 205 additions and 686 deletions
+5 -4
View File
@@ -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: