Name Description Size
__init__.py 0
cert
client_for_testing.py WebSocket client utility for testing. This module contains helper methods for performing handshake, frame sending/receiving as a WebSocket client. This is code for testing pywebsocket3. Keep this code independent from pywebsocket3. Don't import e.g. Stream class for generating frame for testing. Using util.hexify, etc. that are not related to protocol processing is allowed. Note: This code is far from robust, e.g., we cut corners in handshake. 25389
mock.py Mocks for testing. 7040
run_all.py Run all tests in the same directory. This suite is expected to be run under pywebsocket's src directory, i.e. the directory containing pywebsocket3, test, etc. To change loggin level, please specify --log-level option. python test/run_test.py --log-level debug To pass any option to unittest module, please specify options after '--'. For example, run this for making the test runner verbose. python test/run_test.py --log-level debug -- -v 3289
set_sys_path.py Configuration for testing. Test files should import this module before pywebsocket3. 1843
test_dispatch.py Tests for dispatch module. 13266
test_endtoend.py End-to-end tests for pywebsocket3. Tests standalone.py. 27161
test_extensions.py Tests for extensions module. 8670
test_handshake.py Tests for handshake.base module. 6933
test_handshake_hybi.py Tests for handshake module. 17448
test_http_header_util.py Tests for http_header_util module. 3634
test_memorizingfile.py Tests for memorizingfile module. 4232
test_mock.py Tests for mock module. 5236
test_msgutil.py Tests for msgutil module. 37829
test_stream.py Tests for stream module. 2822
test_util.py Tests for util module. 7290
testdata