fix assertation

This commit is contained in:
Matthias Mair 2022-05-20 17:27:08 +02:00
parent 4868947be0
commit c50456297e

View File

@ -15,7 +15,7 @@ class HelperTests(TestCase):
# working sample
response = render_template(ErrorSource(), 'sample/sample.html', {'abc': 123})
self.assertEqual(response, '<h1>123</h1>')
self.assertEqual(response, '<h1>123</h1>\n')
# Wrong sample
response = render_template(ErrorSource(), 'sample/wrongsample.html', {'abc': 123})