Skip to content

Commit

Permalink
Update test_main.py
Browse files Browse the repository at this point in the history
  • Loading branch information
OlgaKonshina authored Mar 12, 2024
1 parent 60f9cc1 commit 5a79184
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test_main.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ def test_predict_positive():

def test_predict_negative():
response = client.post("/predict/",
json={"text": "I hate machine learning!"})
json={"text": "I am very angry"})
json_data = response.json()
assert response.status_code == 200
assert json_data['Результат:'] == 'негативный (('
Expand Down

0 comments on commit 5a79184

Please sign in to comment.