單項選擇題

如何在PyTest中驗證HTTP響應(yīng)的狀態(tài)碼()

A.使用response.get()
B.使用response.status()
C.使用response.status_code
D.使用response.code()

微信掃碼免費搜題