summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoryouzhijiang <[email protected]>2024-10-18 18:06:33 +0800
committeryouzhijiang <[email protected]>2024-10-18 18:06:33 +0800
commit722b69c4f665f5e0c305515f204b61c56469f651 (patch)
tree3194c9b88cce4d183025e0a9acc713ea939a0c4c
parent87d7dbe65d9da8b40200782ed07736df3ffbd7af (diff)
item测试数据适配新格式
-rw-r--r--cases/object/test_moible_identities.py78
1 files changed, 39 insertions, 39 deletions
diff --git a/cases/object/test_moible_identities.py b/cases/object/test_moible_identities.py
index db811d32..ae600e4a 100644
--- a/cases/object/test_moible_identities.py
+++ b/cases/object/test_moible_identities.py
@@ -50,7 +50,7 @@ class TestMoible_identities:
"Create": {
"model": "0",
"type": "new_object",
- "item": ["123*"]
+ "item": ["123$"]
},
"Createtype":"IMSI",
"Subtype": "not_delete",
@@ -105,7 +105,7 @@ class TestMoible_identities:
"Create":{
"model":"0",
"type":"new_object",
- "item": ["123*"],
+ "item": ["^123"],
},
"Createtype": "IMSI",
@@ -125,7 +125,7 @@ class TestMoible_identities:
"Create": {
"model": "0",
"type": "new_object",
- "item": ["123*"],
+ "item": ["^123"],
},
"Createtype": "IMSI",
"Subtype": "",
@@ -136,7 +136,7 @@ class TestMoible_identities:
"Create": {
"model": "1",
"type": "new_object",
- "item": ["$123"]
+ "item": ["^123"]
},
"Createtype": "Phone_Number",
"Subtype": "",
@@ -154,7 +154,7 @@ class TestMoible_identities:
"Create": {
"model": "0",
"type": "new_object",
- "item": ["34671*"],
+ "item": ["^34671"],
},
"Createtype": "IMSI",
"repetition_type": "0",
@@ -166,7 +166,7 @@ class TestMoible_identities:
"Create": {
"model": "0",
"type": "new_object",
- "item": ["34671*"],
+ "item": ["34671$"],
},
"Createtype": "IMSI",
"repetition_type": "1",
@@ -189,7 +189,7 @@ class TestMoible_identities:
"Create":{
"model":"0",
"type":"new_object",
- "item":["12312312321*"],
+ "item":["12312312321^"],
},
"Createtype": "IMSI",
"Subtype": "export_files",
@@ -232,9 +232,9 @@ class TestMoible_identities:
"Create":{
"model":"0",
"type":"new_object",
- "item": ["12312312321*", "$12312312321"]
+ "item": ["12312312321$", "^12312312321"]
},
- "item_modify": {"type": "modify", "modify_data": ["123*"]},
+ "item_modify": {"type": "modify", "modify_data": ["123$"]},
"Createtype": "IMSI",
"Subtype": "",
@@ -252,7 +252,7 @@ class TestMoible_identities:
"Create": {
"model": "0",
"type": "new_object",
- "item": ["123*"],
+ "item": ["123$"],
},
"Createtype": "IMSI",
@@ -331,7 +331,7 @@ class TestMoible_identities:
"Create":{
"model": "0",
"type": "new_object",
- "item": ["12312312321*", "$12312312321"]
+ "item": ["12312312321$", "$12312312321"]
},
"Createtype":"Phone_Number",
@@ -345,7 +345,7 @@ class TestMoible_identities:
"Create":{
"model": "0",
"type": "new_object",
- "item": ["12312312321*", "$12312312321"]
+ "item": ["12312312321$", "^12312312321"]
},
"Createtype": "Phone_Number",
@@ -361,7 +361,7 @@ class TestMoible_identities:
# "Create":{
# "model": "0",
# "type": "new_object",
- # "item": ["12312312321*", "$12312312321"]
+ # "item": ["12312312321$", "$12312312321"]
# },
# "Createtype": "Phone_Number",
# "Subtype": "",
@@ -376,7 +376,7 @@ class TestMoible_identities:
# "Create":{
# "model": "0",
# "type": "new_object",
- # "item": ["12312312321*", "$12312312321"]
+ # "item": ["12312312321$", "$12312312321"]
# },
# "Createtype":"IMSI",
# "Subtype": "",
@@ -390,7 +390,7 @@ class TestMoible_identities:
# "Create": {
# "model": "0",
# "type": "new_object",
- # "item": ["12312312321*", "$12312312321"]
+ # "item": ["12312312321$", "$12312312321"]
# },
# "Createtype":"Phone_Number",
# "Subtype": "",
@@ -404,7 +404,7 @@ class TestMoible_identities:
# "Create": {
# "model": "0",
# "type": "new_object",
- # "item": ["12312312321*", "$12312312321"]
+ # "item": ["12312312321$", "$12312312321"]
# },
# "Createtype":"IMEI",
# "Subtype": "",
@@ -415,11 +415,11 @@ class TestMoible_identities:
# {
# "ids": "用例43、创建安全策略 IMEI Mvsys对其下Tvsys只有查看权限",
# "Name": "Mvsys对其下Tvsys只有查看权限",
- # "item": ["12312312321*", "$12312312321"],
+ # "item": ["12312312321$", "$12312312321"],
# "Create": {
# "model": "0",
# "type": "new_object",
- # "item": ["12312312321*", "$12312312321"]
+ # "item": ["12312312321$", "$12312312321"]
# },
# "Createtype":"IMEI",
# "Subtype": "",
@@ -431,11 +431,11 @@ class TestMoible_identities:
# {
# "ids": "用例43、创建代理策略 Mvsys对其下Tvsys只有查看权限",
# "Name": "Mvsys对其下Tvsys只有查看权限",
- # "item": ["12312312321*", "$12312312321"],
+ # "item": ["12312312321$", "$12312312321"],
# "Create": {
# "model": "0",
# "type": "new_object",
- # "item": ["12312312321*", "$12312312321"]
+ # "item": ["12312312321$", "$12312312321"]
# },
# "Createtype":"IMEI",
# "Subtype": "",
@@ -450,7 +450,7 @@ class TestMoible_identities:
# "Create": {
# "model": "0",
# "type": "new_object",
- # "item": ["12312312321*", "$12312312321"]
+ # "item": ["12312312321$", "$12312312321"]
# },
# "Createtype":"IMEI",
# "Subtype": "",
@@ -465,7 +465,7 @@ class TestMoible_identities:
# "Create": {
# "model": "0",
# "type": "new_object",
- # "item": ["12312312321*", "$12312312321"]
+ # "item": ["12312312321$", "$12312312321"]
# },
# "Createtype":"IMEI",
# "Subtype": "",
@@ -508,7 +508,7 @@ class TestMoible_identities:
"Create": {
"model": "0",
"type":"new_object",
- "item": ["12312312321*","$12312312321"]
+ "item": ["12312312321$","^12312312321"]
},
"Createtype": "IMSI",
"Subtype":"",
@@ -519,7 +519,7 @@ class TestMoible_identities:
"Create": {
"model": "0",
"type": "new_object",
- "item": ["12312312321*", "$12312312321"]
+ "item": ["12312312321$", "^12312312321"]
},
"Createtype": "IMSI",
"Subtype": "",
@@ -530,7 +530,7 @@ class TestMoible_identities:
"Create": {
"model": "0",
"type": "new_object",
- "item": ["94556422134*"]
+ "item": ["94556422134$"]
},
"Createtype": "IMSI",
"Subtype": "",
@@ -541,7 +541,7 @@ class TestMoible_identities:
"Create": {
"model": "0",
"type": "new_object",
- "item": ["94556422134*"]
+ "item": ["94556422134$"]
},
"Createtype": "IMSI",
"Subtype": "",
@@ -561,7 +561,7 @@ class TestMoible_identities:
"Create": {
"model": "1",
"type": "new_object",
- "item": ["12344564893*"]
+ "item": ["12344564893$"]
},
"Subtype": "0",
"Createtype":"IMSI",
@@ -573,7 +573,7 @@ class TestMoible_identities:
"Create": {
"model": "1",
"type": "new_object",
- "item": ["12344564893*"]
+ "item": ["12344564893$"]
},
"Subtype": "1",
"Createtype":"Phone_Number",
@@ -589,7 +589,7 @@ class TestMoible_identities:
"Create": {
"model": "1",
"type": "new_object",
- "item": ["12344564893*"]
+ "item": ["12344564893$"]
},
"Subtype": "3",
"Createtype": "IMEI",
@@ -607,7 +607,7 @@ class TestMoible_identities:
"Create": {
"model": "0",
"type":"new_object",
- "item": ["12312312321*","$12312312321"]
+ "item": ["12312312321$","^12312312321"]
},
"Createtype": "IMSI",
"Subtype":"",
@@ -618,7 +618,7 @@ class TestMoible_identities:
"Create":{
"model": "0",
"type": "new_object",
- "item": ["123","123*","$123","*123","123&123"]
+ "item": ["123","123$","^123","^123$","123&123"]
},
"Createtype": "Phone_Number",
"Subtype":"",
@@ -629,7 +629,7 @@ class TestMoible_identities:
"Create": {
"model": "0",
"type": "new_object",
- "item": ["12312312321*","$12312312321"]
+ "item": ["12312312321$","^12312312321"]
},
"Createtype": "IMEI",
"Subtype": "",
@@ -640,7 +640,7 @@ class TestMoible_identities:
"Create": {
"model": "1",
"type": "new_object",
- "item": ["$123"]
+ "item": ["^123"]
},
"Createtype": "IMSI",
"Subtype": "",
@@ -662,7 +662,7 @@ class TestMoible_identities:
"Create": {
"model": "0",
"type": "new_object",
- "item": ["123*"],
+ "item": ["^123"],
},
"Createtype": "IMSI",
"Subtype": "",
@@ -678,7 +678,7 @@ class TestMoible_identities:
"Create": {
"model": "1",
"type": "new_object",
- "item": ["$123"]
+ "item": ["^123"]
},
"Createtype": "IMSI",
"Subtype": "",
@@ -693,11 +693,11 @@ class TestMoible_identities:
{
"ids": "用例5-2、修改IMSI,item修改123*",
"Name": "test-1",
- "item_modify": {"type": "modify","modify_data": ["123*"]},
+ "item_modify": {"type": "modify","modify_data": ["^123"]},
"Create":{
"model": "0",
"type": "new_object",
- "item": ["12312312321*"],
+ "item": ["12312312321$"],
"files_type": "true_files",
"files_name": "moible_identities_True导入文件.txt"
},
@@ -718,7 +718,7 @@ class TestMoible_identities:
"Create":{
"model": "0",
"type": "new_object",
- "item": ["12312312321*"],
+ "item": ["12312312321$"],
},
"Createtype": "IMSI",
"Subtype":"",
@@ -740,7 +740,7 @@ class TestMoible_identities:
"Create": {
"model": "0",
"type": "new_object",
- "item": ["12312312321*"]
+ "item": ["12312312321$"]
},
"Createtype": "IMEI",
"Subtype": "",