Skip to content

Commit

Permalink
ajustement code test.py
Browse files Browse the repository at this point in the history
  • Loading branch information
juguirlet committed Dec 16, 2023
1 parent f6e3900 commit 1200431
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ def test_get_customer_shap_values(streamlit_client):
def test_request_prediction(streamlit_client):
api_url_calc = f'https://juguirlet.pythonanywhere.com/api/v1/predict'
data = st.cache(lambda: app.app_test.head(1))()
response = request_prediction(api_url_calc, data)
response = app.request_prediction(api_url_calc, data)
assert "prediction" in response

def test_construire_jauge_score(streamlit_client):
Expand Down

0 comments on commit 1200431

Please sign in to comment.