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:
Shane Wang 2014-02-07 15:23:25 +08:00
parent 020daa48bf
commit 82bc29945a
3 changed files with 5 additions and 5 deletions

View File

@ -240,7 +240,7 @@ class MessageController(storage.Message):
client_uuid
:param client_uuid: (Default None) UUID for the client that
originated this request
:param fields: (Default None) Fields to include in emmitted
:param fields: (Default None) Fields to include in emitted
documents
:param include_claimed: (Default False) Whether to include
claimed messages, not just active ones
@ -572,7 +572,7 @@ class MessageController(storage.Message):
# NOTE(kgriffs): This can be used in conjunction with the
# 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.
#
# TODO(kgriffs): Add transaction ID to help match up loglines

View File

@ -51,7 +51,7 @@ Running the Functional Tests (Without Tox)
#. If leaving keystone auth enabled, update system-tests.conf with a
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: ::

View File

@ -57,12 +57,12 @@ class TestWSGIutils(testtools.TestCase):
utils.get_checked_field, doc, 'openstack', list)
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)
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)
value = utils.get_checked_field(doc, 'question', list)