mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-14 17:10:51 -07:00
Cleaning up FIXMEs
This commit is contained in:
parent
1e50d31cdc
commit
86de1429e5
32 changed files with 49 additions and 105 deletions
|
@ -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}}")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue