From 912d0625f06222b2d0ed81c855a6f9596a9cb3fa Mon Sep 17 00:00:00 2001 From: Matthias Date: Wed, 11 May 2022 23:12:27 +0200 Subject: [PATCH] PEP fix --- InvenTree/plugin/test_helpers.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/InvenTree/plugin/test_helpers.py b/InvenTree/plugin/test_helpers.py index 9ed0ff16fe..5187b30619 100644 --- a/InvenTree/plugin/test_helpers.py +++ b/InvenTree/plugin/test_helpers.py @@ -14,10 +14,10 @@ class HelperTests(TestCase): slug = 'sampleplg' # working sample - response = render_template(ErrorSource(), 'sample/sample.html', {'abc': 123} ) + response = render_template(ErrorSource(), 'sample/sample.html', {'abc': 123}) self.assertEqual(response, '

123

') # Wrong sample - response = render_template(ErrorSource(), 'sample/wrongsample.html', {'abc': 123} ) + response = render_template(ErrorSource(), 'sample/wrongsample.html', {'abc': 123}) self.assertTrue('lert alert-block alert-danger' in response) self.assertTrue('Template file sample/wrongsample.html' in response)