commit 81d838c053095f8cb38a5c9b6db7a28de74a1fed
parent 6094d4bb43341059482355582aaafbd82cd89e1f
Author: Sheng <webmaster0115@gmail.com>
Date: Thu, 26 Apr 2018 22:21:04 +0800
Updated test_app.py
Diffstat:
1 file changed, 0 insertions(+), 4 deletions(-)
diff --git a/tests/test_app.py b/tests/test_app.py
@@ -56,10 +56,6 @@ class TestApp(AsyncHTTPTestCase):
response = self.fetch('/', method="POST", body=body)
self.assertIn(b'"status": "Empty username"', response.body)
- body = u'hostname=127.0.0.1&port=22&username=user&password'
- response = self.fetch('/', method="POST", body=body)
- self.assertIn(b'Unable to connect to', response.body)
-
def test_app_with_wrong_credentials(self):
response = self.fetch('/')
self.assertEqual(response.code, 200)