This patch updates test_endtoend.py to achieve higher coverage.
It particularly adds the following tests:
Test using basic_auth_credential (correctly and incorrectly)
Test making invalid URIs for standalone to process
(The individual components are tested in the unit test test_http_header_util.py, but the current test_endtoend serves as a simple integrity test, so we check the responses here as well).
It also fixes client_for_testing to support basic_auth_credential, and also fixes a bug found in request_handler with the tests.
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.