Merge "fix a few spelling mistakes"

This commit is contained in:
Jenkins 2016-07-04 17:19:59 +00:00 committed by Gerrit Code Review
commit 44d4188149
6 changed files with 12 additions and 12 deletions

View File

@ -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):

View File

@ -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):

View File

@ -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):

View File

@ -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
"""

View File

@ -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

View File

@ -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 {}