mirror of
https://github.com/huashengdun/webssh.git
synced 2026-08-21 21:26:29 +00:00
Updated test_server_error
This commit is contained in:
+1
-1
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user