From 6b4dd64cfe9f2d2155c77c5cc3e5d0804a7b5846 Mon Sep 17 00:00:00 2001 From: Fabian Affolter <fabian@affolter-engineering.ch> Date: Tue, 23 Feb 2016 22:06:45 +0100 Subject: [PATCH] Add break to fix length of lines --- tests/helpers/test_template.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/helpers/test_template.py b/tests/helpers/test_template.py index 7e75755d830..1420ac44b6b 100644 --- a/tests/helpers/test_template.py +++ b/tests/helpers/test_template.py @@ -171,16 +171,16 @@ class TestUtilTemplate(unittest.TestCase): template.render(self.hass, '{{ states("test.object2") }}')) @patch('homeassistant.core.dt_util.utcnow', return_value=dt_util.utcnow()) - @patch('homeassistant.helpers.template.TemplateEnvironment.is_safe_callable', - return_value=True) + @patch('homeassistant.helpers.template.TemplateEnvironment.' + 'is_safe_callable', return_value=True) def test_now(self, mock_is_safe, mock_utcnow): self.assertEqual( dt_util.utcnow().isoformat(), template.render(self.hass, '{{ now.isoformat() }}')) @patch('homeassistant.core.dt_util.utcnow', return_value=dt_util.utcnow()) - @patch('homeassistant.helpers.template.TemplateEnvironment.is_safe_callable', - return_value=True) + @patch('homeassistant.helpers.template.TemplateEnvironment.' + 'is_safe_callable', return_value=True) def test_utcnow(self, mock_is_safe, mock_utcnow): self.assertEqual( dt_util.utcnow().isoformat(), -- GitLab