fix tests and change nosetests flags so asserts show what comparisons failed

This commit is contained in:
Michael DeHaan 2012-09-27 22:12:15 -04:00
parent 618a519ee3
commit 06cfc52afd
2 changed files with 3 additions and 3 deletions

View file

@ -300,14 +300,14 @@ class TestUtils(unittest.TestCase):
res = ansible.utils.template("test", template, {})
assert res == u'hello world\n'
assert res == u'hello world'
def test_varReplace_include_script(self):
template = 'hello $PIPE(echo world)'
res = ansible.utils.template("test", template, {})
assert res == u'hello world\n'
assert res == u'hello world'
#####################################
### Template function tests