From c50456297e21ca90799d5212673ee0af9f9306ec Mon Sep 17 00:00:00 2001 From: Matthias Mair Date: Fri, 20 May 2022 17:27:08 +0200 Subject: [PATCH] fix assertation --- InvenTree/plugin/test_helpers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/InvenTree/plugin/test_helpers.py b/InvenTree/plugin/test_helpers.py index 5187b30619..1b9cd104cc 100644 --- a/InvenTree/plugin/test_helpers.py +++ b/InvenTree/plugin/test_helpers.py @@ -15,7 +15,7 @@ class HelperTests(TestCase): # working sample response = render_template(ErrorSource(), 'sample/sample.html', {'abc': 123}) - self.assertEqual(response, '

123

') + self.assertEqual(response, '

123

\n') # Wrong sample response = render_template(ErrorSource(), 'sample/wrongsample.html', {'abc': 123})