commit fa717491cdf7896fafffdef1bca70a919e1cd1cb parent 6cfd981e80be062766034e693571c1f0502d7aa5 Author: Sheng <webmaster0115@gmail.com> Date: Wed, 29 Aug 2018 09:40:07 +0800 Updated test_server_error Diffstat:
M | tests/test_app.py | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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')