diff options
author | Alistair Coles <alistair.coles@hpe.com> | 2016-05-05 15:25:16 +0100 |
---|---|---|
committer | Alistair Coles <alistair.coles@hpe.com> | 2016-05-05 15:25:16 +0100 |
commit | a0d65e4ccddffbf2b1596332ef67733583554bbc (patch) | |
tree | 6c59829569cbad1e59984dd0158c6fca92c810e4 /tests/unit/test_swiftclient.py | |
parent | c3766319b93d60e30f55747f6cfc9ca915ff603c (diff) | |
download | python-swiftclient-a0d65e4ccddffbf2b1596332ef67733583554bbc.tar.gz |
Tighten up testing for sloppy auth version
The existing test that os-identity-api-version=2 would
result in the correct auth_version=2.0 (note 2 -> 2.0)
does not verify the sloppy version handling code path.
When auth, key and user options are all missing the
auth version is always set to 2.0 so the test will always
pass. Adding auth, key and user options to the test command
will cause the test to verify that the os-identity-api-version
option was used and mapped to 2.0.
Change-Id: Ifa10cd2b8bf81c082d5e3fa846f993871194fea0
Diffstat (limited to 'tests/unit/test_swiftclient.py')
0 files changed, 0 insertions, 0 deletions