@@ -23,13 +23,16 @@ def test_user_route_with_input_id_1(test_client: FlaskClient) -> None:
2323 assert json_data ["preferred_name" ] == "Raf"
2424 assert json_data ["last_name" ] == "Cenzano"
2525 assert json_data [
"email" ]
== "[email protected] " 26- #Added
26+ # Added
2727 assert json_data ["description" ] == "labconnect is the best RCOS project"
28- assert json_data ["profile_picture" ] == "https://rafael.sirv.com/Images/rafael.jpeg?thumbnail=350&format=webp&q=90"
28+ assert (
29+ json_data ["profile_picture" ]
30+ == "https://rafael.sirv.com/Images/rafael.jpeg?thumbnail=350&format=webp&q=90"
31+ )
2932 assert json_data ["website" ] == "https://rafaelcenzano.com"
30- #class year
33+ # class year
3134 assert json_data ["class_year" ] == "2025"
32- #lab manager id
35+ # lab manager id
3336 assert json_data ["lab_manager_id" ] == 1
3437
3538 departments_data = [
@@ -112,10 +115,13 @@ def test_user_route_with_input_id_2(test_client: FlaskClient) -> None:
112115 assert json_data ["last_name" ] == "RCOS"
113116 assert json_data ["preferred_name" ] is None
114117 assert json_data [
"email" ]
== "[email protected] " 115- #Added
116- assert json_data ["description" ] is None
117- assert json_data ["profile_picture" ] == "https://www.svgrepo.com/show/206842/professor.svg" # Adjust based on your test data
118- assert json_data ["website" ] is None
118+ # Added
119+ assert json_data ["description" ] is None
120+ assert (
121+ json_data ["profile_picture" ]
122+ == "https://www.svgrepo.com/show/206842/professor.svg"
123+ ) # Adjust based on your test data
124+ assert json_data ["website" ] is None
119125 assert json_data ["class_year" ] is None
120126 assert json_data ["lab_manager_id" ] is None
121127
0 commit comments