summaryrefslogtreecommitdiff
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #473 from sigmavirus24/use-create_default_contextAndrey Petrov2014-10-292-7/+35
|\ | | | | Use 3.4's ssl.create_default_context when available
| * Remove poorly designed testIan Cordasco2014-10-291-6/+0
| |
| * Reduce scope of exception handling in ssl_wrap_socketIan Cordasco2014-10-291-0/+7
| | | | | | | | Only catch and handle IOErrors and OSErrors as the comment intended
| * Last bit of test coverage and hopefully a fix for some testsIan Cordasco2014-10-232-5/+15
| |
| * Fix up test coverageIan Cordasco2014-10-231-2/+19
| |
* | no newlinesKevin Burke2014-10-271-1/+1
| |
* | Add failing HTTPS handshake timeout testKevin Burke2014-10-271-0/+18
| | | | | | | | The test hangs on failure, ugh. Would love to look into this at some point.
* | go hard or go homeKevin Burke2014-10-061-2/+3
| |
* | Make it a constant member on the classKevin Burke2014-10-061-2/+1
| |
* | Use a constant stringKevin Burke2014-10-061-3/+3
| |
* | change error message'Kevin Burke2014-10-041-1/+1
| |
* | Add ResponseError exception classKevin Burke2014-10-021-2/+6
| | | | | | | | | | | | | | | | | | | | This class is for erroneous states that occur after a response has been downloaded from the server. Examples include a server that is raising many 500 server errors (with a Retry object coded to forbid this) or a redirect cycle that exceeds the specified redirect limit. In addition, ensures that all objects passed as the `reason` parameter to MaxRetryError are Exception objects.
* | fix syntax errorKevin Burke2014-09-301-2/+0
| |
* | Add failing test with bad messageKevin Burke2014-09-303-3/+42
|/ | | | | | | | | | | | | | add a cause to different error types wip update cause logic only use cause for non-error related retries fix python3 warning revert test
* Make str(Url) == Url.urlAaron Meurer2014-09-121-1/+5
|
* Merge branch 'master' into url_unparseAaron Meurer2014-09-1212-197/+968
|\ | | | | | | | | Conflicts: test/test_util.py
| * Disable PyOpenSSL tests by default.Andrey Petrov2014-08-251-4/+8
| |
| * Merge pull request #455 from kevinburke/source-address-updateAndrey Petrov2014-08-251-1/+3
| |\ | | | | | | More failure info on source address test.
| | * add assert to catch intermittent failureKevin Burke2014-08-251-1/+3
| | |
| * | Merge pull request #451 from t-8ch/pyopenssl_testsAndrey Petrov2014-08-251-5/+7
| |\ \ | | |/ | |/| Pyopenssl tests
| | * visually clean up importsThomas Weißschuh2014-08-241-3/+3
| | |
| | * always test PyOpenSSL on python2Thomas Weißschuh2014-08-241-2/+8
| | |
| | * test everything on pyopensslThomas Weißschuh2014-08-241-6/+2
| | |
| * | update warnings on wrong system timeThomas Weißschuh2014-08-231-0/+24
| |/ | | | | | | Incorporates ideas by @shazow and adds tests.
| * allow performing *only* fingerprint verificationThomas Weißschuh2014-08-201-0/+17
| | | | | | | | | | | | | | | | Before if we verified a fingerprint we also required a valid certificate. Valid in 'signed by a trusted CA, current time in valid timerange', not in the sense of matching hostnames. We should allow people to verify certificates via fingerprints that are totally crap otherwise.
| * add explicit test of readinto to make py2.6 happyErik Tollerud2014-08-101-0/+18
| |
| * Add code to (hopefully) get to 100% coverageErik Tollerud2014-08-101-0/+5
| |
| * fixes based on feedback from @shazow and @sigmavirus24Erik Tollerud2014-08-101-1/+1
| |
| * Add test for buffering behaviorErik Tollerud2014-08-101-0/+8
| |
| * added tests for is_fp_closedJames Salter2014-07-301-0/+31
| |
| * Remove the decorators for source_address testingIan Cordasco2014-07-041-2/+0
| |
| * Only pop source_address from kwargs after saving itIan Cordasco2014-07-041-9/+0
| | | | | | | | This test is no longer accurate
| * Tests pass.Andrey Petrov2014-07-033-42/+76
| |
| * A test!Andrey Petrov2014-07-021-2/+15
| |
| * Security warnings.Andrey Petrov2014-07-021-5/+5
| |
| * Fiddling with things because pypy is unhappy.retriesAndrey Petrov2014-07-011-1/+1
| |
| * Removed count, fixed py3 tests.Andrey Petrov2014-07-012-24/+13
| |
| * Renamed ConnectionError -> ProtocolError, simplified Retry logic, added tests.Andrey Petrov2014-07-013-8/+54
| |
| * Tweakage.Andrey Petrov2014-06-302-12/+9
| |
| * Properly wrap TimeoutError with MaxRetryError.Andrey Petrov2014-06-303-19/+44
| |
| * s/Retry.is_retryable/Retry.is_forced_retry/Andrey Petrov2014-06-301-5/+5
| |
| * Tests pass, need to fix coverage.Andrey Petrov2014-06-302-4/+10
| |
| * Huge refactoring, discovered some critical flaws.Andrey Petrov2014-06-274-55/+84
| |
| * Retry.countAndrey Petrov2014-06-261-2/+2
| |
| * Retry.redirects -> Retry.redirectAndrey Petrov2014-06-262-2/+2
| |
| * Py3.Andrey Petrov2014-06-261-0/+2
| |
| * Tests pass.Andrey Petrov2014-06-261-3/+5
| |
| * Tests pass, still need more coverage.Andrey Petrov2014-06-261-1/+6
| |
| * More cleanup, though status_forcelist tests are still borken?Andrey Petrov2014-06-262-79/+94
| |
| * Messing with defaults some more.Andrey Petrov2014-06-261-3/+2
| |