From 90c8db977f81e3bebd636215c1b5132ce83ad1f1 Mon Sep 17 00:00:00 2001 From: bhagya Date: Fri, 30 Aug 2024 13:28:32 -0500 Subject: [PATCH] update testing --- tests/test_price_feed_service.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_price_feed_service.py b/tests/test_price_feed_service.py index 323130f..7cde339 100644 --- a/tests/test_price_feed_service.py +++ b/tests/test_price_feed_service.py @@ -195,7 +195,7 @@ def test_error_handling_422(self, service): response = Mock() response.status_code = 422 response.json.return_value = { - "detail": {'msg': 'Invalid input'}, + "detail": [{'msg': 'Invalid input'}], } with pytest.raises(RequestException, match="422 Client Error"): service.error_handling(response)