Merge "Fix common misspellings"
This commit is contained in:
commit
848d63b398
@ -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