summaryrefslogtreecommitdiff
path: root/tests/utils.py
Commit message (Collapse)AuthorAgeFilesLines
* Add region_name support1.2.0Donagh McCabe2012-09-111-1/+3
| | | | | | | | | Add --os-region-name (and OS_REGION_NAME env) to bin/swift Add region_name to the os_options in Connection class. bug 1019832 Change-Id: Id8515d97e5351638dce10581c7368f61518e1fa7
* Allow endpoint type to be specified.David Kranz2012-09-041-7/+9
| | | | | | Fixes bug 1037690. Change-Id: I36b3807b2f3234c778316f1e743d27304755aed8
* Use keystoneclient for authentication.Chmouel Boudjnah2012-07-061-0/+8
| | | | | | | | | | | | | | | - This allows us to delegate all 2.0 authentication directly to the library without reimplementing ourselves. - Support reusing a token / storage-url without re-authenticating every time via the switch os_storage_url os_auth_token. - Allow auth via tenant_id instead of just tenant_name via the switch os_tenant_id. - Refactor a bit to make it easier in the future to add new OS features (i.e: region). - Implements blueprint use-keystoneclient-for-swiftclient. - Fixes bug 1016641. Change-Id: I532f38a68af884de25326aaac05a2050f5ffa1c7
* Adding fake_http_connect to test.utils.Chmouel Boudjnah2012-05-211-0/+115
- Copy fake_http_connect function from swift repository.