]> git.ipfire.org Git - thirdparty/tornado.git/commit
iostream_test: Test check_hostname functionality.
authorBen Darnell <ben@bendarnell.com>
Tue, 14 Nov 2023 03:02:32 +0000 (22:02 -0500)
committerBen Darnell <ben@bendarnell.com>
Tue, 14 Nov 2023 03:02:32 +0000 (22:02 -0500)
commit06e1a651823934710f23a138f4bbfb344ca002b0
treea9a6acc4dac955dbd92c808e87dacb60d48c5d28
parenta6dfd70d7a6398b2187021df63ca77daa5781e5e
iostream_test: Test check_hostname functionality.

In #3337, the removal of ssl.match_hostname revealed that we did not
have any test coverage of hostname checking in tornado.iostream.
Since we were forced to remove the manual check that we had in place
for old versions of Python, we need a test to make sure that we didn't
inadvertently break hostname checking.
tornado/test/iostream_test.py
tornado/test/test.crt
tornado/test/test.key
tornado/testing.py