summaryrefslogtreecommitdiff
path: root/tests/test_http.py
Commit message (Collapse)AuthorAgeFilesLines
* Use requests module for HTTP/HTTPSDean Troyer2012-12-181-37/+50
| | | | | | | | | | | | | * Implement correct certificate verification * Add --os-cacert * Rework tests for requests Pinned requests module to < 1.0 as 1.0.2 is now current in pipi as of 17Dec2012. Blueprint: tls-verify Change-Id: I71066ff7297f3b70c08b7ae1c8ae8b6a1b82bbae
* Add retries to cinderclient.Cory Stone2012-11-071-4/+109
| | | | | | | | | | | | HTTPClient now supports a retries argument. It will reissue requests for any 5xx or socket (400 with n/a) errors. This retry loop was "inspired" by swiftclient's loop. It reauths one extra time if necessary. It uses backoff times of 1, 2, 4... seconds. The default is 0 retries. It is also exposed to the shell as well with a --retries arg. Change-Id: I67bed02d65155f4a4d5d879bb233f56cc78849fa
* Revert "Add retries to cinderclient."John Griffith2012-11-021-61/+1
| | | This reverts commit 3b1eda3b3bb6678e9c9ec3e783e3e12b0c42f0a4
* Add retries to cinderclient.Cory Stone2012-11-011-1/+61
| | | | | | | | | | | | HTTPClient now supports a retries argument. It will reissue requests for any 5xx or socket (400 with n/a) errors. This retry loop was "inspired" by swiftclient's loop. It reauths one time if necessary. It uses backoff times of 1, 2, 4... seconds. The default is 0 retries. It is also exposed to the shell as well with a --retries arg. Change-Id: I75d9a13d6c4ba16a5da13d4bf5cad78a777d67d7
* Set pep8 version to 1.1 in test_requiresJohn Griffith2012-06-151-2/+1
| | | | | | | * Fixes bug 1007520 * Changes in pep8 cause new failures Change-Id: Ie678f01a5008b0df6ef43a360b599890cab40776
* Initial split from python-novaclient.0.0Jenkins2012-05-211-0/+74