summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_socket_ssl.py
Commit message (Collapse)AuthorAgeFilesLines
* test_timeout(): This test was added during Bug Day, but disabledTim Peters2006-04-081-20/+36
| | | | | | | | | soon after because the gmail address it connects to started timing out on all the buildbot slaves. Rewrote the test to produce a warning message (instead of failing) when the address times out. Also removed the special case for Windows -- this test started to work on Windows as soon as bug 1462352 was fixed.
* Fix stupid typo.Tim Peters2006-04-011-1/+1
|
* test_timeout(): Disable this new test on all platforms.Tim Peters2006-04-011-4/+8
| | | | | | | | | The s.connect(("gmail.org", 995)) line has been timing out on all buildbot slaves for hours now, causing the test to fail.
* Make test_socket_ssl finally pass on WInGeorg Brandl2006-03-311-0/+3
|
* Disable test_socket_ssl timeout test on Windows.Georg Brandl2006-03-311-11/+13
|
* Patch #1380952: fix SSL objects timing out on consecutive read()sGeorg Brandl2006-03-311-0/+14
|
* There was a race condition where the connector would try to connectNeal Norwitz2006-01-251-0/+3
| | | | | | | | | | before the listener was ready (on gentoo x86 buildslave). This caused the listener to not exit normally since nobody connected to it (waited in accept()). The exception was raised in the other thread and the test failed. This fix doesn't completely eliminate the race, but should make it near impossible to trigger. Hopefully it's good enough.
* test_rude_shutdown(): Rewrote to use proper threadTim Peters2006-01-241-11/+19
| | | | synchronization and termination.
* connector(): You can't use an empty string as an argument to connect()Tim Peters2003-07-011-1/+1
| | | | on Windows.
* Fix SF bug #763770, test_socket_ssl crashNeal Norwitz2003-07-011-2/+2
| | | | Don't run any tests if there is no ssl support.
* Fix SF #754870, SSL crash interpreter when remote side closes during connectNeal Norwitz2003-06-301-1/+37
| | | | Also fix a memory leak.
* Rearrange test_socket_ssl so that a skip is expected iff the networkTim Peters2002-12-041-19/+24
| | | | resource isn't enabled or the socket module doesn't support ssl.
* Get rid of relative imports in all unittests. Now anything thatBarry Warsaw2002-07-231-1/+1
| | | | | | | | | | | imports e.g. test_support must do so using an absolute package name such as "import test.test_support" or "from test import test_support". This also updates the README in Lib/test, and gets rid of the duplicate data dirctory in Lib/test/data (replaced by Lib/email/test/data). Now Tim and Jack can have at it. :)
* Whitespace normalization.Tim Peters2001-10-181-3/+0
|
* Add trivial test cases for RAND_add() and RAND_status().Jeremy Hylton2001-10-181-1/+15
| | | | (The rest of the test cases are trivial, so I don't feel too bad.)
* Skip instead of fail this test if the socket module has no sslGuido van Rossum2001-09-061-0/+3
| | | | support.
* A test of SSL support, using a roundabout method suggested by Guido.Barry Warsaw2001-08-201-0/+13
However, this is only enabled with regrtest's --use=network switch.