File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -26,8 +26,9 @@ async def test_config_endpoint_handler_configuration_not_loaded(mocker):
2626 )
2727 auth = ("test_user" , "token" , {})
2828 with pytest .raises (HTTPException ) as exc_info :
29- await config_endpoint_handler (auth = auth , request = request )
30-
29+ await config_endpoint_handler (
30+ auth = auth , request = request # pyright:ignore[reportArgumentType]
31+ )
3132 assert exc_info .value .status_code == status .HTTP_500_INTERNAL_SERVER_ERROR
3233 assert exc_info .value .detail ["response" ] == "Configuration is not loaded"
3334
@@ -73,6 +74,8 @@ async def test_config_endpoint_handler_configuration_loaded(mocker):
7374 }
7475 )
7576 auth = ("test_user" , "token" , {})
76- response = await config_endpoint_handler (auth = auth , request = request )
77+ response = await config_endpoint_handler (
78+ auth = auth , request = request # pyright:ignore[reportArgumentType]
79+ )
7780 assert response is not None
7881 assert response == cfg .configuration
You can’t perform that action at this time.
0 commit comments