@@ -101,7 +101,7 @@ def test_get_existing_user_current_user(client: TestClient, db: Session) -> None
101101
102102
103103def test_get_existing_user_permissions_error (
104- client : TestClient , normal_user_token_headers : dict [str , str ], db : Session
104+ client : TestClient , normal_user_token_headers : dict [str , str ]
105105) -> None :
106106 r = client .get (
107107 f"{ settings .API_V1_STR } /users/999999" ,
@@ -167,7 +167,7 @@ def test_retrieve_users(
167167
168168
169169def test_update_user_me (
170- client : TestClient , normal_user_token_headers : dict [str , str ], db : Session
170+ client : TestClient , normal_user_token_headers : dict [str , str ]
171171) -> None :
172172 full_name = "Updated Name"
173173 email = random_email ()
@@ -184,7 +184,7 @@ def test_update_user_me(
184184
185185
186186def test_update_password_me (
187- client : TestClient , superuser_token_headers : dict [str , str ], db : Session
187+ client : TestClient , superuser_token_headers : dict [str , str ]
188188) -> None :
189189 new_password = random_lower_string ()
190190 data = {
@@ -214,7 +214,7 @@ def test_update_password_me(
214214
215215
216216def test_update_password_me_incorrect_password (
217- client : TestClient , superuser_token_headers : dict [str , str ], db : Session
217+ client : TestClient , superuser_token_headers : dict [str , str ]
218218) -> None :
219219 new_password = random_lower_string ()
220220 data = {"current_password" : new_password , "new_password" : new_password }
@@ -247,7 +247,7 @@ def test_update_user_me_email_exists(
247247
248248
249249def test_update_password_me_same_password_error (
250- client : TestClient , superuser_token_headers : dict [str , str ], db : Session
250+ client : TestClient , superuser_token_headers : dict [str , str ]
251251) -> None :
252252 data = {
253253 "current_password" : settings .FIRST_SUPERUSER_PASSWORD ,
@@ -337,7 +337,7 @@ def test_update_user(
337337
338338
339339def test_update_user_not_exists (
340- client : TestClient , superuser_token_headers : dict [str , str ], db : Session
340+ client : TestClient , superuser_token_headers : dict [str , str ]
341341) -> None :
342342 data = {"full_name" : "Updated_full_name" }
343343 r = client .patch (
@@ -415,7 +415,7 @@ def test_delete_user_current_user(client: TestClient, db: Session) -> None:
415415
416416
417417def test_delete_user_not_found (
418- client : TestClient , superuser_token_headers : dict [str , str ], db : Session
418+ client : TestClient , superuser_token_headers : dict [str , str ]
419419) -> None :
420420 r = client .delete (
421421 f"{ settings .API_V1_STR } /users/99999999" ,
0 commit comments