summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cinderclient/tests/v1/test_volume_encryption_types.py11
-rw-r--r--cinderclient/tests/v2/test_volume_encryption_types.py11
2 files changed, 10 insertions, 12 deletions
diff --git a/cinderclient/tests/v1/test_volume_encryption_types.py b/cinderclient/tests/v1/test_volume_encryption_types.py
index 0d9868c..f8951d2 100644
--- a/cinderclient/tests/v1/test_volume_encryption_types.py
+++ b/cinderclient/tests/v1/test_volume_encryption_types.py
@@ -73,12 +73,11 @@ class VolumeEncryptionTypesTest(utils.TestCase):
Verify that one POST request is made for the encryption type creation.
Verify that encryption type creation returns a VolumeEncryptionType.
"""
- result = cs.volume_encryption_types.create(2, {'encryption':
- {'provider': 'Test',
- 'key_size': None,
- 'cipher': None,
- 'control_location':
- None}})
+ result = cs.volume_encryption_types.create(2, {'provider': 'Test',
+ 'key_size': None,
+ 'cipher': None,
+ 'control_location':
+ None})
cs.assert_called('POST', '/types/2/encryption')
self.assertIsInstance(result, VolumeEncryptionType)
diff --git a/cinderclient/tests/v2/test_volume_encryption_types.py b/cinderclient/tests/v2/test_volume_encryption_types.py
index 0d609ea..bba6503 100644
--- a/cinderclient/tests/v2/test_volume_encryption_types.py
+++ b/cinderclient/tests/v2/test_volume_encryption_types.py
@@ -73,12 +73,11 @@ class VolumeEncryptionTypesTest(utils.TestCase):
Verify that one POST request is made for the encryption type creation.
Verify that encryption type creation returns a VolumeEncryptionType.
"""
- result = cs.volume_encryption_types.create(2, {'encryption':
- {'provider': 'Test',
- 'key_size': None,
- 'cipher': None,
- 'control_location':
- None}})
+ result = cs.volume_encryption_types.create(2, {'provider': 'Test',
+ 'key_size': None,
+ 'cipher': None,
+ 'control_location':
+ None})
cs.assert_called('POST', '/types/2/encryption')
self.assertIsInstance(result, VolumeEncryptionType)