diff options
author | Peter Åstrand (astrand) <astrand@cendio.se> | 2013-12-16 16:18:41 +0100 |
---|---|---|
committer | Peter Åstrand (astrand) <astrand@cendio.se> | 2013-12-16 16:18:41 +0100 |
commit | f64e3dea51160f97c0b7297077aa8e05867bc6a1 (patch) | |
tree | 0b726142c0232a853c275335dc1a4af78636d598 /tests | |
parent | db933950617c14ef91490b3223a1f1cf848769a2 (diff) | |
parent | 17455afe4d9d1fa386c19080d7242067de26c5fc (diff) | |
download | websockify-f64e3dea51160f97c0b7297077aa8e05867bc6a1.tar.gz |
Merge remote branch 'upstream/master', after #110 was merged.
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/echo.rb | 2 | ||||
-rw-r--r-- | tests/test_websocketproxy.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/echo.rb b/tests/echo.rb index 6a5493c..8db7dd3 100755 --- a/tests/echo.rb +++ b/tests/echo.rb @@ -12,7 +12,7 @@ require 'websocket' class WebSocketEcho < WebSocketServer # Echo back whatever is received - def new_client(client) + def new_websocket_client(client) cqueue = [] c_pend = 0 diff --git a/tests/test_websocketproxy.py b/tests/test_websocketproxy.py index 0fdd0fb..cf940ae 100644 --- a/tests/test_websocketproxy.py +++ b/tests/test_websocketproxy.py @@ -124,4 +124,4 @@ class WebSocketProxyTest(unittest.TestCase): return ins, outs, excepts self.stubs.Set(select, 'select', mock_select) - self.assertRaises(Exception, web_socket_proxy.new_client) + self.assertRaises(Exception, web_socket_proxy.new_websocket_client) |