webssh

Web based ssh client https://github.com/huashengdun/webssh webssh.huashengdun.org/
git clone http://git.hanabi.in/repos/webssh.git
Log | Files | Refs | README | LICENSE

commit 82929ea484ca8390f6485dae7951e178bcfe8975
parent 191bb109e07e13eeae65c85f5a22c4f9bc8b0e7e
Author: Sheng <webmaster0115@gmail.com>
Date:   Tue, 22 May 2018 19:39:14 +0800

Changed string to bytes

Diffstat:
Mtests/test_app.py | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tests/test_app.py b/tests/test_app.py @@ -116,7 +116,7 @@ class TestApp(AsyncHTTPTestCase): ws_url = url + 'ws?id=' + worker_id ws = yield tornado.websocket.websocket_connect(ws_url) msg = yield ws.read_message() - self.assertIn('Welcome!', msg) + self.assertIn(b'Welcome!', msg) ws.close() @tornado.testing.gen_test @@ -135,6 +135,6 @@ class TestApp(AsyncHTTPTestCase): ws_url = url + 'ws?id=' + worker_id ws = yield tornado.websocket.websocket_connect(ws_url) msg = yield ws.read_message() - self.assertIn('Welcome!', msg) + self.assertIn(b'Welcome!', msg) yield ws.write_message('bye') ws.close()