aomaker icon indicating copy to clipboard operation
aomaker copied to clipboard

我感觉在base_api中强制状态码400+失败有点不是很好

Open 986379041 opened this issue 1 year ago • 1 comments

在site-packages\aomaker\base\base_api.py文件中,第70-98行中看到会强制判断状态码≥400时直接抛出失败,因为我们可能会对单接口进行校验,当断言状态码==400时才是用例通过,所以这里可以设计为不要进行状态码400断言吗? image 而且这里如果400掐断了后,正常接口返回一些message就看不到了

986379041 avatar Oct 20 '23 08:10 986379041