Fix misspellings in python openstackclient
Fix misspellings detected by: * pip install misspellings * git ls-files | grep -v locale | misspellings -f - Change-Id: Ic0d3efa26eb9a05ce16a8319c142f5bd1ce23821 Closes-Bug: #1257295
This commit is contained in:
parent
632363328b
commit
8aa0b07fbc
@ -37,7 +37,7 @@ class OpenstackKeyring(keyring.backends.file.BaseKeyring):
|
||||
block_size = 32
|
||||
padding = '0'
|
||||
|
||||
# init the cipher with the class name, upto block_size
|
||||
# init the cipher with the class name, up to block_size
|
||||
password = __name__[block_size:]
|
||||
password = password + (block_size - len(password) %
|
||||
block_size) * padding
|
||||
|
@ -32,7 +32,7 @@ VOLUME = {
|
||||
'display_description': volume_description,
|
||||
'size': volume_size,
|
||||
'status': '',
|
||||
'attach_status': 'detatched',
|
||||
'attach_status': 'detached',
|
||||
'metadata': volume_metadata,
|
||||
}
|
||||
|
||||
|
@ -105,7 +105,7 @@ class TestVolumeCreate(TestVolume):
|
||||
)
|
||||
self.assertEqual(columns, collist)
|
||||
datalist = (
|
||||
'detatched',
|
||||
'detached',
|
||||
volume_fakes.volume_description,
|
||||
volume_fakes.volume_name,
|
||||
volume_fakes.volume_id,
|
||||
@ -181,7 +181,7 @@ class TestVolumeCreate(TestVolume):
|
||||
)
|
||||
self.assertEqual(columns, collist)
|
||||
datalist = (
|
||||
'detatched',
|
||||
'detached',
|
||||
volume_fakes.volume_description,
|
||||
volume_fakes.volume_name,
|
||||
volume_fakes.volume_id,
|
||||
@ -257,7 +257,7 @@ class TestVolumeCreate(TestVolume):
|
||||
)
|
||||
self.assertEqual(columns, collist)
|
||||
datalist = (
|
||||
'detatched',
|
||||
'detached',
|
||||
volume_fakes.volume_description,
|
||||
volume_fakes.volume_name,
|
||||
volume_fakes.volume_id,
|
||||
|
Loading…
x
Reference in New Issue
Block a user