diff options
| author | Dean Troyer <dtroyer@gmail.com> | 2015-10-16 16:02:07 -0500 |
|---|---|---|
| committer | Dean Troyer <dtroyer@gmail.com> | 2015-10-16 16:08:27 -0500 |
| commit | 195a0edeb77607cd95899834e5813ef34ada7c0c (patch) | |
| tree | a149f31260d07b791f8fc19b37c091df56d54121 /openstackclient/tests/volume/v2/fakes.py | |
| parent | 9f51ccdf8c2b2e1afceeb9e6570ed629191a71c8 (diff) | |
| download | python-openstackclient-195a0edeb77607cd95899834e5813ef34ada7c0c.tar.gz | |
Follow-on for volume list - add tests, clean help
* Add volume list tests for v1 (a copy of the v2 tests)
* Converts volume v2 tests to use Identity v3 so domains can be tested
* Add volume list (v2) tests for new options
* Re-orders volume list options (both v1 and v2) to match
* MArks the new volume list (v2) options as v2-only in doc
Change-Id: I2181b2c48cfde2147d7d0ef135322df8a81e7ce8
Diffstat (limited to 'openstackclient/tests/volume/v2/fakes.py')
| -rw-r--r-- | openstackclient/tests/volume/v2/fakes.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/openstackclient/tests/volume/v2/fakes.py b/openstackclient/tests/volume/v2/fakes.py index 7b7758a3..b9b2ae87 100644 --- a/openstackclient/tests/volume/v2/fakes.py +++ b/openstackclient/tests/volume/v2/fakes.py @@ -16,7 +16,7 @@ import copy import mock from openstackclient.tests import fakes -from openstackclient.tests.identity.v2_0 import fakes as identity_fakes +from openstackclient.tests.identity.v3 import fakes as identity_fakes from openstackclient.tests.image.v2 import fakes as image_fakes from openstackclient.tests import utils @@ -212,7 +212,7 @@ class TestVolume(utils.TestCommand): endpoint=fakes.AUTH_URL, token=fakes.AUTH_TOKEN ) - self.app.client_manager.identity = identity_fakes.FakeIdentityv2Client( + self.app.client_manager.identity = identity_fakes.FakeIdentityv3Client( endpoint=fakes.AUTH_URL, token=fakes.AUTH_TOKEN ) |
