summaryrefslogtreecommitdiff
path: root/tests/testserver
Commit message (Collapse)AuthorAgeFilesLines
* little modification in consume_socket_contentlovedboy2016-10-211-5/+5
|
* making module docstrings and coding comments consistentNate Prewitt2016-07-191-0/+2
|
* Allow graceful interruption of testserver.ServerBrett Higgins2016-05-171-6/+29
| | | | | | | | | | | | | | | | | | | | | So that failing tests don't cause the server thread to hang indefinitely, waiting for connections that will never come. Rationale for suppressing error/traceback from interrupted _accept_connection in testserver.Server: https://gist.github.com/brettdh/b6e741227b2297f19d2118077f14dfa5 * Move server socket close to just before join This way it handles the no-connections, no-exceptions case as well as the exception case. If the server thread doesn't exit by itself within 5 seconds of the context manager exit, the accept will be interrupted. * Address feedback - pytest.raises rather than except:pass - Move socket create/bind back to run() - Timeout on accepting connections
* Add 'all' proxy selection to select_proxyBrett Higgins2016-05-131-2/+2
| | | | | | | It seems it's necessary both in pulling all_proxy from the environment (rebuild_proxies) and deciding which proxy to use (select_proxy). Also added new functional test.
* Fixed indenting issuesBraulio Valdivielso Martínez2016-04-111-15/+14
|
* Fix tests in python 3Braulio Valdivielso Martínez2016-03-071-1/+1
|
* Leave two lines of separation between top level definitionsBraulio Valdivielso Martínez2016-03-051-0/+2
|
* Fixed style issuesBraulio Valdivielso Martínez2016-03-041-13/+7
|
* Removed unnecessary filesBraulio Valdivielso Martínez2016-03-031-0/+0
|
* Moved testserver to tests/Braulio Valdivielso Martínez2016-03-033-0/+107