From da7d25fec0423cc9d483dacc8276d0bdbfa1141d Mon Sep 17 00:00:00 2001 From: IshayuR Date: Wed, 30 Oct 2024 22:54:31 -0400 Subject: [PATCH] Backend --- Backend/test_main.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Backend/test_main.py b/Backend/test_main.py index 704c606..ad27f16 100644 --- a/Backend/test_main.py +++ b/Backend/test_main.py @@ -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"} \ No newline at end of file