覆盖测试
This commit is contained in:
@@ -17,8 +17,7 @@ def select_age(min_age,max_age,session=Depends(get_db)):
|
||||
except Exception:
|
||||
raise HTTPException(status_code=500,detail="查询异常")
|
||||
|
||||
def select_gender(gender,session=Depends(get_db)):
|
||||
if gender is None and session is None:
|
||||
def abc():
|
||||
return None
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user