Fixes several typos (Manila)
Fixes several docstring typographical errors. Change-Id: I335a74e9fe7fe03e8c95a66e6e3f63a8329043f7
This commit is contained in:
parent
207dc1a1dc
commit
e08d717b47
|
@ -524,7 +524,7 @@ def network_allocation_update(context, id, values):
|
|||
|
||||
def network_allocations_get_for_share_server(context, share_server_id,
|
||||
session=None):
|
||||
"""Get netwwork allocation for share server."""
|
||||
"""Get network allocation for share server."""
|
||||
return IMPL.network_allocations_get_for_share_server(context,
|
||||
share_server_id,
|
||||
session=session)
|
||||
|
|
|
@ -1040,7 +1040,7 @@ class QuotaEngine(object):
|
|||
project_id, user_id)
|
||||
|
||||
def destroy_all_by_project(self, context, project_id):
|
||||
"""Destroy metadate associated with a project.
|
||||
"""Destroy metadata associated with a project.
|
||||
|
||||
Destroy all quotas, usages, and reservations associated with a
|
||||
project.
|
||||
|
|
|
@ -343,7 +343,7 @@ class GenericShareDriver(driver.ExecuteMixin, driver.ShareDriver):
|
|||
return volume
|
||||
|
||||
def _get_volume_snapshot(self, context, snapshot_id):
|
||||
"""Finds volume snaphots, associated to the specific share snaphots."""
|
||||
"""Find volume snapshot associated to the specific share snapshot."""
|
||||
volume_snapshot_name = (
|
||||
self.configuration.volume_snapshot_name_template % snapshot_id)
|
||||
volume_snapshot_list = self.volume_api.get_all_snapshots(
|
||||
|
|
|
@ -137,7 +137,7 @@ class ShareManager(manager.SchedulerDependentManager):
|
|||
with deletion of share_server.
|
||||
|
||||
:returns: dict, dict -- first value is share_server, that
|
||||
has been choosen for share schedule. Second value is
|
||||
has been chosen for share schedule. Second value is
|
||||
share updated with share_server_id.
|
||||
"""
|
||||
|
||||
|
|
|
@ -436,7 +436,7 @@ class LimiterTest(BaseLimitTestSuite):
|
|||
"""Ensure 11th PUT will be delayed.
|
||||
|
||||
Ensure the 11th PUT will result in a delay of 6.0 seconds until
|
||||
the next request will be granced.
|
||||
the next request will be granted.
|
||||
"""
|
||||
expected = [None] * 10 + [6.0]
|
||||
results = list(self._check(11, "PUT", "/anything"))
|
||||
|
@ -555,7 +555,7 @@ class WsgiLimiterTest(BaseLimitTestSuite):
|
|||
self.app = limits.WsgiLimiter(TEST_LIMITS)
|
||||
|
||||
def _request_data(self, verb, path):
|
||||
"""Get data decribing a limit request verb/path."""
|
||||
"""Get data describing a limit request verb/path."""
|
||||
return jsonutils.dumps({"verb": verb, "path": path})
|
||||
|
||||
def _request(self, verb, url, username=None):
|
||||
|
@ -638,7 +638,7 @@ class FakeHttplibConnection(object):
|
|||
self.host = host
|
||||
|
||||
def request(self, method, path, body="", headers=None):
|
||||
"""Transalate request to WSGI app.
|
||||
"""Translate request to WSGI app.
|
||||
|
||||
Requests made via this connection actually get translated and routed
|
||||
into our WSGI app, we then wait for the response and turn it back into
|
||||
|
|
|
@ -19,7 +19,7 @@ from manila import test
|
|||
|
||||
|
||||
class OVS_Lib_Test(test.TestCase):
|
||||
"""A test suite to excercise the OVS libraries."""
|
||||
"""A test suite to exercise the OVS libraries."""
|
||||
|
||||
def setUp(self):
|
||||
super(OVS_Lib_Test, self).setUp()
|
||||
|
|
Loading…
Reference in New Issue