websockify/tests
Peter Åstrand (astrand) d0608a63b6 Make echo.py and load.py work again, after the refactoring of
websocket.py:

* With echo.py, which doesn't need any server configuration, we can
  just switch over our application class to inherit from
  WebSocketRequestHandler instead of WebSocketServer. Also, need to
  use the new method name new_websocket_client.

* With load.py, since we have the "delay" configuration, we need both
  a server class and a request handler.

Note that for both tests, I've removed the raising of
self.EClose(closed). This is incorrect. First of all, it's described
as "An exception before the WebSocket connection was established", so
not suitable for our case. Second, it will cause send_close to be
called twice. Finally, self.EClose is now in the WebSocketServer
class, and not a member of the request handler.
2013-03-20 10:03:04 +01:00
..
b64_vs_utf8.py Couple of misc utf8, base64 python tests. 2011-04-12 22:39:28 -05:00
base64.html Make compatible with jQuery. Slight API change. 2010-12-10 08:25:36 -06:00
base64.js wsproxy.js: Fix multi-frame decoding. 2010-11-07 22:28:08 -06:00
echo.html Fix latency test. 2012-04-25 13:44:37 -05:00
echo.py Make echo.py and load.py work again, after the refactoring of 2013-03-20 10:03:04 +01:00
echo.rb HyBi and threading support to ruby websockify. 2011-10-05 17:53:36 -05:00
include Add mouse wheel support and input test page. 2010-05-25 11:05:55 -05:00
latency.html Fix latency test. 2012-04-25 13:44:37 -05:00
latency.py Add latency test and browser latency test results. 2011-01-19 15:25:44 -06:00
load.html Refactor and add IETF-07 protocol version support. 2011-05-01 22:17:04 -05:00
load.py Make echo.py and load.py work again, after the refactoring of 2013-03-20 10:03:04 +01:00
plain_echo.html Fix latency test. 2012-04-25 13:44:37 -05:00
simple.html Rename client.html to simple.html 2012-02-09 17:47:22 -06:00
utf8-list.py tests: use new module path and remove Hixie code. 2013-03-14 12:24:58 -05:00