mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 13:52:54 +00:00
Cleaning up FIXMEs
This commit is contained in:
@@ -70,8 +70,6 @@ class TestTemplar(unittest.TestCase):
|
||||
self.assertEqual(templar.template("{{bad_dict}}"), "{a='b'")
|
||||
self.assertEqual(templar.template("{{var_list}}"), [1])
|
||||
self.assertEqual(templar.template(1, convert_bare=True), 1)
|
||||
#FIXME: lookup ignores fake file and returns error
|
||||
#self.assertEqual(templar.template("{{lookup('file', '/path/to/my_file.txt')}}"), "foo")
|
||||
|
||||
# force errors
|
||||
self.assertRaises(AnsibleUndefinedVariable, templar.template, "{{bad_var}}")
|
||||
|
||||
Reference in New Issue
Block a user