Change $FILE{} and $PIPE{} to $FILE() and $PIPE()

This commit is contained in:
Michael DeHaan 2012-09-18 21:34:55 -04:00 committed by Daniel Hokka Zakrisson
parent cc948f339c
commit 4ded8cb3b3
2 changed files with 3 additions and 3 deletions

View file

@ -214,14 +214,14 @@ class TestUtils(unittest.TestCase):
assert res == u'hello oh great one'
def test_varReplace_include(self):
template = 'hello $FILE{world}'
template = 'hello $FILE(world)'
res = ansible.utils.template("test", template, {})
assert res == u'hello world\n'
def test_varReplace_include_script(self):
template = 'hello $PIPE{echo world}'
template = 'hello $PIPE(echo world)'
res = ansible.utils.template("test", template, {})