... | ... |
@@ -300,14 +300,14 @@ class TestUtils(unittest.TestCase): |
300 | 300 |
|
301 | 301 |
res = ansible.utils.template("test", template, {}) |
302 | 302 |
|
303 |
- assert res == u'hello world\n' |
|
303 |
+ assert res == u'hello world' |
|
304 | 304 |
|
305 | 305 |
def test_varReplace_include_script(self): |
306 | 306 |
template = 'hello $PIPE(echo world)' |
307 | 307 |
|
308 | 308 |
res = ansible.utils.template("test", template, {}) |
309 | 309 |
|
310 |
- assert res == u'hello world\n' |
|
310 |
+ assert res == u'hello world' |
|
311 | 311 |
|
312 | 312 |
##################################### |
313 | 313 |
### Template function tests |