Merge "fix a few spelling mistakes"
This commit is contained in:
commit
44d4188149
@ -51,10 +51,10 @@ class TestServer(compute_fakes.TestComputev2):
|
||||
self.volumes_mock = self.app.client_manager.volume.volumes
|
||||
self.volumes_mock.reset_mock()
|
||||
|
||||
# Set object attributes to be tested. Could be overwriten in subclass.
|
||||
# Set object attributes to be tested. Could be overwritten in subclass.
|
||||
self.attrs = {}
|
||||
|
||||
# Set object methods to be tested. Could be overwriten in subclass.
|
||||
# Set object methods to be tested. Could be overwritten in subclass.
|
||||
self.methods = {}
|
||||
|
||||
def setup_servers_mock(self, count):
|
||||
|
@ -34,10 +34,10 @@ class TestServerBackup(compute_fakes.TestComputev2):
|
||||
self.images_mock = self.app.client_manager.image.images
|
||||
self.images_mock.reset_mock()
|
||||
|
||||
# Set object attributes to be tested. Could be overwriten in subclass.
|
||||
# Set object attributes to be tested. Could be overwritten in subclass.
|
||||
self.attrs = {}
|
||||
|
||||
# Set object methods to be tested. Could be overwriten in subclass.
|
||||
# Set object methods to be tested. Could be overwritten in subclass.
|
||||
self.methods = {}
|
||||
|
||||
def setup_servers_mock(self, count):
|
||||
|
@ -33,10 +33,10 @@ class TestServerImage(compute_fakes.TestComputev2):
|
||||
self.images_mock = self.app.client_manager.image.images
|
||||
self.images_mock.reset_mock()
|
||||
|
||||
# Set object attributes to be tested. Could be overwriten in subclass.
|
||||
# Set object attributes to be tested. Could be overwritten in subclass.
|
||||
self.attrs = {}
|
||||
|
||||
# Set object methods to be tested. Could be overwriten in subclass.
|
||||
# Set object methods to be tested. Could be overwritten in subclass.
|
||||
self.methods = {}
|
||||
|
||||
def setup_servers_mock(self, count):
|
||||
|
@ -190,7 +190,7 @@ class FakeImage(object):
|
||||
|
||||
:param Dictionary attrs:
|
||||
A dictionary with all attrbutes of image
|
||||
:retrun:
|
||||
:return:
|
||||
A FakeResource object with id, name, owner, protected,
|
||||
visibility and tags attrs
|
||||
"""
|
||||
|
@ -157,7 +157,7 @@ class FakeTransfer(object):
|
||||
|
||||
:param Dictionary attrs:
|
||||
A dictionary with all attributes of Transfer Request
|
||||
:retrun:
|
||||
:return:
|
||||
A FakeResource object with volume_id, name, id.
|
||||
"""
|
||||
# Set default attribute
|
||||
@ -207,7 +207,7 @@ class FakeService(object):
|
||||
|
||||
:param Dictionary attrs:
|
||||
A dictionary with all attributes of service
|
||||
:retrun:
|
||||
:return:
|
||||
A FakeResource object with host, status, etc.
|
||||
"""
|
||||
# Set default attribute
|
||||
|
@ -53,7 +53,7 @@ class FakeTransfer(object):
|
||||
|
||||
:param Dictionary attrs:
|
||||
A dictionary with all attributes of Transfer Request
|
||||
:retrun:
|
||||
:return:
|
||||
A FakeResource object with volume_id, name, id.
|
||||
"""
|
||||
# Set default attribute
|
||||
@ -103,7 +103,7 @@ class FakeService(object):
|
||||
|
||||
:param Dictionary attrs:
|
||||
A dictionary with all attributes of service
|
||||
:retrun:
|
||||
:return:
|
||||
A FakeResource object with host, status, etc.
|
||||
"""
|
||||
# Set default attribute
|
||||
@ -223,7 +223,7 @@ class FakeVolume(object):
|
||||
|
||||
:param Dictionary attrs:
|
||||
A dictionary with all attributes of volume
|
||||
:retrun:
|
||||
:return:
|
||||
A FakeResource object with id, name, status, etc.
|
||||
"""
|
||||
attrs = attrs or {}
|
||||
|
Loading…
Reference in New Issue
Block a user