fixed typo
This commit is contained in:
parent
d38bb4152d
commit
43bf9c86d8
1 changed files with 1 additions and 1 deletions
|
@ -73,7 +73,7 @@ class TestTemplar(unittest.TestCase):
|
|||
#self.assertEqual(templar.template("{{lookup('file', '/path/to/my_file.txt')}}"), "foo")
|
||||
|
||||
# force errors
|
||||
self.assertRaises(AnsibloeUndefinedVariable, templar.template, "{{bad_var}}")
|
||||
self.assertRaises(AnsibleUndefinedVariable, templar.template, "{{bad_var}}")
|
||||
self.assertRaises(AnsibleUndefinedVariable, templar.template, "{{lookup('file', bad_var)}}")
|
||||
self.assertRaises(AnsibleError, templar.template, "{{lookup('bad_lookup')}}")
|
||||
self.assertRaises(AnsibleError, templar.template, "{{recursive}}")
|
||||
|
|
Loading…
Reference in a new issue