2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-05-02 21:38:48 +00:00

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 # working sample
response = render_template(ErrorSource(), 'sample/sample.html', {'abc': 123}) response = render_template(ErrorSource(), 'sample/sample.html', {'abc': 123})
self.assertEqual(response, '<h1>123</h1>') self.assertEqual(response, '<h1>123</h1>\n')
# Wrong sample # Wrong sample
response = render_template(ErrorSource(), 'sample/wrongsample.html', {'abc': 123}) response = render_template(ErrorSource(), 'sample/wrongsample.html', {'abc': 123})