Message263448
By “mock the query”, do you mean swap out the socket for a pretend socket object? Another option would be to connect to a server on localhost running on the background, like I did for the fileno() problem.
Looks like this test_http_basic() was intended to verify that no timeout was being used by default. |
|
Date |
User |
Action |
Args |
2016-04-15 05:06:02 | martin.panter | set | recipients:
+ martin.panter, vstinner, zach.ware, florin.papa |
2016-04-15 05:06:02 | martin.panter | set | messageid: <1460696762.33.0.0906029314306.issue26757@psf.upfronthosting.co.za> |
2016-04-15 05:06:02 | martin.panter | link | issue26757 messages |
2016-04-15 05:06:01 | martin.panter | create | |
|