GoogleChromeLabs / pywebsocket3

BSD 3-Clause "New" or "Revised" License
44 stars 32 forks source link

Add tests for standalone server #3

Closed quasi-mod closed 4 years ago

quasi-mod commented 4 years ago

This patch updates test_endtoend.py to achieve higher coverage.

It particularly adds the following tests:

It also fixes client_for_testing to support basic_auth_credential, and also fixes a bug found in request_handler with the tests.

Please take a look.