mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-15 17:40:50 -07:00
Do not use bare vars in integration tests. (#17599)
This commit is contained in:
parent
b93de25204
commit
16baef1f72
6 changed files with 10 additions and 11 deletions
|
@ -61,7 +61,6 @@ class TestTemplar(unittest.TestCase):
|
|||
self.assertEqual(templar.template("{{foo}}\n"), "bar\n")
|
||||
self.assertEqual(templar.template("{{foo}}\n", preserve_trailing_newlines=True), "bar\n")
|
||||
self.assertEqual(templar.template("{{foo}}\n", preserve_trailing_newlines=False), "bar")
|
||||
self.assertEqual(templar.template("foo", convert_bare=True), "bar")
|
||||
self.assertEqual(templar.template("{{bam}}"), "bar")
|
||||
self.assertEqual(templar.template("{{num}}"), 1)
|
||||
self.assertEqual(templar.template("{{var_true}}"), True)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue