6 Commits

Author SHA1 Message Date
Chmouel Boudjnah
2bcfe0b4c8 Allow specify tenant:user in user.
We allow having the syntax tenant:user in user since this would make
things easier when switching from auth 1.0 to auth 2.0 and not having to
specify a tenant_name.

In the feature we should use the auth functions from keystoneclient and
be done with those changes, we could then auth by user/tenant-ID.

Change-Id: Ie49748105a678fb9369494e77d41d934d57a39a7
2012-06-27 19:19:37 +00:00
Dan Prince
b13823ef18 Raise ClientException for invalid auth version.
- Fixes LP Bug #1008667.
- Fix a pep8 error along the way to pass jenkins.
- Update openstack.swift.common to get jenkins passing for 1.2 pep8
  error.

Change-Id: I4ce86a94e1c799807a2ad8e7e1c502b1eb8a51c7
2012-06-06 19:07:08 +02:00
Chmouel Boudjnah
deff7eca1c Adding fake_http_connect to test.utils.
- Copy fake_http_connect function from swift repository.
2012-05-21 12:51:54 +02:00
Chmouel Boudjnah
ee965ff4a7 Delete old test_client and add a gitignore. 2012-05-08 16:29:29 +01:00
Chmouel Boudjnah
a5a6a8fddb Rename client to swiftclient. 2012-05-08 15:51:15 +01:00
Chmouel Boudjnah
1b6db9eb42 Add test_client from original swift repository. 2012-05-08 15:14:41 +01:00