Aurélie GABU commited on
Commit
c30e130
·
1 Parent(s): 20b5915

docs: test_api updated lines 43 44

Browse files
Files changed (1) hide show
  1. tests/test_api.py +2 -2
tests/test_api.py CHANGED
@@ -40,5 +40,5 @@ def test_predict_endpoint():
40
  response = client.post("/predict", json = emp_caract)
41
 
42
  assert response.status_code == 200
43
- assert "prediction" in response.json()
44
- assert "probabilite_depart" in response.json()
 
40
  response = client.post("/predict", json = emp_caract)
41
 
42
  assert response.status_code == 200
43
+ assert "Prediction" in response.json()
44
+ assert "Probabilite_depart" in response.json()