Fix misspellings in marconi
Fix misspellings detected by: * pip install misspellings * git ls-files | grep -v locale | misspellings -f - Change-Id: Ibe7ca120f132c83e39d14ffcafd330522c8ab164 Closes-Bug: #1257295
This commit is contained in:
@@ -240,7 +240,7 @@ class MessageController(storage.Message):
|
|||||||
client_uuid
|
client_uuid
|
||||||
:param client_uuid: (Default None) UUID for the client that
|
:param client_uuid: (Default None) UUID for the client that
|
||||||
originated this request
|
originated this request
|
||||||
:param fields: (Default None) Fields to include in emmitted
|
:param fields: (Default None) Fields to include in emitted
|
||||||
documents
|
documents
|
||||||
:param include_claimed: (Default False) Whether to include
|
:param include_claimed: (Default False) Whether to include
|
||||||
claimed messages, not just active ones
|
claimed messages, not just active ones
|
||||||
@@ -572,7 +572,7 @@ class MessageController(storage.Message):
|
|||||||
|
|
||||||
# NOTE(kgriffs): This can be used in conjunction with the
|
# NOTE(kgriffs): This can be used in conjunction with the
|
||||||
# log line, above, that is emitted after all messages have
|
# log line, above, that is emitted after all messages have
|
||||||
# been posted, to guage how long it is taking for messages
|
# been posted, to gauge how long it is taking for messages
|
||||||
# to be posted to a given queue, or overall.
|
# to be posted to a given queue, or overall.
|
||||||
#
|
#
|
||||||
# TODO(kgriffs): Add transaction ID to help match up loglines
|
# TODO(kgriffs): Add transaction ID to help match up loglines
|
||||||
|
|||||||
@@ -51,7 +51,7 @@ Running the Functional Tests (Without Tox)
|
|||||||
#. If leaving keystone auth enabled, update system-tests.conf with a
|
#. If leaving keystone auth enabled, update system-tests.conf with a
|
||||||
valid set of credentials.
|
valid set of credentials.
|
||||||
|
|
||||||
#. Now, to run the sytem tests, simply use the nosetests commands, e.g.:
|
#. Now, to run the system tests, simply use the nosetests commands, e.g.:
|
||||||
|
|
||||||
Run all test suites: ::
|
Run all test suites: ::
|
||||||
|
|
||||||
|
|||||||
@@ -57,12 +57,12 @@ class TestWSGIutils(testtools.TestCase):
|
|||||||
utils.get_checked_field, doc, 'openstack', list)
|
utils.get_checked_field, doc, 'openstack', list)
|
||||||
|
|
||||||
def test_get_checked_field(self):
|
def test_get_checked_field(self):
|
||||||
doc = {'hello': 'world', 'teh answer': 42, 'question': []}
|
doc = {'hello': 'world', 'the answer': 42, 'question': []}
|
||||||
|
|
||||||
value = utils.get_checked_field(doc, 'hello', str)
|
value = utils.get_checked_field(doc, 'hello', str)
|
||||||
self.assertEqual(value, 'world')
|
self.assertEqual(value, 'world')
|
||||||
|
|
||||||
value = utils.get_checked_field(doc, 'teh answer', int)
|
value = utils.get_checked_field(doc, 'the answer', int)
|
||||||
self.assertEqual(value, 42)
|
self.assertEqual(value, 42)
|
||||||
|
|
||||||
value = utils.get_checked_field(doc, 'question', list)
|
value = utils.get_checked_field(doc, 'question', list)
|
||||||
|
|||||||
Reference in New Issue
Block a user