mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 21:32:49 +00:00
fix tests and change nosetests flags so asserts show what comparisons failed
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user