From fa717491cdf7896fafffdef1bca70a919e1cd1cb Mon Sep 17 00:00:00 2001 From: Sheng Date: Wed, 29 Aug 2018 09:40:07 +0800 Subject: [PATCH] Updated test_server_error --- tests/test_app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_app.py b/tests/test_app.py index 21f8b9c..1899c3d 100644 --- a/tests/test_app.py +++ b/tests/test_app.py @@ -474,7 +474,7 @@ class TestAppInDebug(OtherTestBase): def test_server_error(self): response = self.fetch('/?error=generate', method='GET') - self.my_assertIn(b'Internal Server Error', response.body) + self.my_assertIn(b'"status": "Internal Server Error"', response.body) def test_html(self): response = self.fetch('/', method='GET')