Fix PEP257 issues

This commit is contained in:
Fabian Affolter committed 2016-03-09 10:25:50 +01:00
1 parent d6eab03a61
commit 9838697d2b
120 files changed
+1447 -1297

No files matched your search

+5 -9
View File
@@ -1,9 +1,4 @@
"""
tests.components.test_introduction
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Test introduction.
"""
"""The tests for the Introduction component."""
import unittest
from homeassistant.components import introduction
@@ -12,15 +7,16 @@ from tests.common import get_test_home_assistant
class TestIntroduction(unittest.TestCase):
""" Test Introduction. """
"""Test Introduction."""
def setUp(self):
"""Setup things to be run when tests are started."""
self.hass = get_test_home_assistant()
def tearDown(self):
""" Stop down stuff we started. """
"""Stop down everything that was started."""
self.hass.stop()
def test_setup(self):
""" Test Introduction setup """
"""Test introduction setup."""
self.assertTrue(introduction.setup(self.hass, {}))