mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
fix assertation
This commit is contained in:
parent
4868947be0
commit
c50456297e
@ -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})
|
||||
|
Loading…
Reference in New Issue
Block a user