summaryrefslogtreecommitdiff
path: root/tests/test_templating.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_templating.py')
-rw-r--r--tests/test_templating.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/test_templating.py b/tests/test_templating.py
index aadcf66..57d7f7a 100644
--- a/tests/test_templating.py
+++ b/tests/test_templating.py
@@ -52,6 +52,8 @@ class testFilters(unittest.TestCase):
res = templating.to_yaml(s)
self.assertTrue(res.startswith("|\n"))
self.assertNotIn('\n', res.lstrip("|\n"))
+ for line in res.lstrip("|\n").split('\n'):
+ self.assertTrue(line.startswith(" "))
if __name__ == '__main__':