From 38bc1a29ebe40ce3691e955ee21aedeaba2df07d Mon Sep 17 00:00:00 2001 From: Yuzuru Date: Fri, 24 Oct 2025 01:03:18 +0800 Subject: [PATCH] fix(tests): correct assertion for error message in exception test - Updated test case to check for "Internal" instead of "wrong" in the error message. - Ensures alignment with the updated error response format. --- tests/test_exception.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_exception.py b/tests/test_exception.py index 841f1e0..bc34112 100644 --- a/tests/test_exception.py +++ b/tests/test_exception.py @@ -254,7 +254,7 @@ async def crash(): body = response.json() self.assertEqual(body["status"], "FAIL") self.assertEqual(body["error_code"], "ISE-500") - self.assertIn("wrong", body["message"]) + self.assertIn("Internal", body["message"]) self.assertIn("An unexpected error occurred", body["description"])