新增用例:删除项目,修改用户手机号,修改用户密码,修改用户邮箱

This commit is contained in:
floraachy
2023-12-13 17:44:13 +08:00
parent 3c713a1ed3
commit 9db52bf23b
19 changed files with 519 additions and 63 deletions

View File

@@ -75,9 +75,7 @@ class AssertUtils:
if "type_re" in self.assert_data and self.assert_data["type_re"]:
return re_extract(obj=self.response.text, expr=self.assert_data["type_re"])
else:
assert 'type_re' or 'type_jsonpath' in self.assert_data.keys(), (
" 断言数据: '%s' 中缺少 `type_re` 或 `type_jsonpath` 属性 " % self.assert_data
)
return self.response.text
def get_actual_value_by_sql(self):
"""