Skip to content

Commit

Permalink
Backend
Browse files Browse the repository at this point in the history
  • Loading branch information
IshayuR committed Oct 31, 2024
1 parent f126859 commit da7d25f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Backend/test_main.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ def test_remove_user_favorite():
def test_change_user_location():
"""Test for http://localhost:5000/change_user_location."""
url = "http://localhost:5000"
response = requests.put(f"{url}/change_user_location", json={"Location": "New York"},
response = requests.put(f"{url}/change_user_location", json={"Location": "New York"},
timeout=10)
assert response.json() == {"Location": "New York", "Name": "Eric", "Occupation":
assert response.json() == {"Location": "New York", "Name": "Eric", "Occupation":
"Student", "Password": "2020"}

0 comments on commit da7d25f

Please sign in to comment.