Fix common misspellings
Wikipedia's list of common misspellings [1] has a machine-readable version. This patch fixes those misspellings mentioned in the list which don't have multiple right variants (as e.g. "accension", which can be both "accession" and "ascension"), such misspellings are left untouched. The list of changes was manually re-checked for false positives. [1] https://en.wikipedia.org/wiki/Wikipedia:Lists_of_common_misspellings/For_machines Change-Id: I152ec2fa58a98810b4b8756bba20ab3c0877fdcf Signed-off-by: Martin Kletzander <mkletzan@redhat.com>
This commit is contained in:
parent
b738ee677f
commit
2b3bf26123
@ -651,7 +651,7 @@ class HOTemplateTest(common.HeatTestCase):
|
||||
snippet = {'repeat': {'template': 'this is %var%'}}
|
||||
self.assertRaises(KeyError, self.resolve, snippet, tmpl)
|
||||
|
||||
# mispelled for_each
|
||||
# misspelled for_each
|
||||
snippet = {'repeat': {'template': 'this is %var%',
|
||||
'foreach': {'%var%': ['a', 'b', 'c']}}}
|
||||
self.assertRaises(KeyError, self.resolve, snippet, tmpl)
|
||||
@ -666,7 +666,7 @@ class HOTemplateTest(common.HeatTestCase):
|
||||
'for_each': {'%var%': 'a'}}}
|
||||
self.assertRaises(TypeError, self.resolve, snippet, tmpl)
|
||||
|
||||
# mispelled template
|
||||
# misspelled template
|
||||
snippet = {'repeat': {'templte': 'this is %var%',
|
||||
'for_each': {'%var%': ['a', 'b', 'c']}}}
|
||||
self.assertRaises(KeyError, self.resolve, snippet, tmpl)
|
||||
|
@ -541,7 +541,7 @@ class SqlAlchemyTest(common.HeatTestCase):
|
||||
def test_stack_get_all_non_existing_marker(self):
|
||||
[self._setup_test_stack('stack', x)[1] for x in UUIDs]
|
||||
|
||||
uuid = 'this stack doesnt exist'
|
||||
uuid = 'this stack doesn\'t exist'
|
||||
st_db = db_api.stack_get_all(self.ctx, marker=uuid)
|
||||
self.assertEqual(3, len(st_db))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user