1
0
mirror of https://github.com/home-assistant/core.git synced 2025-12-24 04:50:05 +00:00

Disable too-many-* (#4107)

* Disable too-many-* and too-few-public-methods

* Remove globally disabled pylint warnings
This commit is contained in:
Fabian Affolter
2016-10-30 22:18:53 +01:00
committed by GitHub
parent b910a9917d
commit be272ac64a
298 changed files with 271 additions and 570 deletions

View File

@@ -1,5 +1,5 @@
"""The tests for the Script component."""
# pylint: disable=too-many-public-methods,protected-access
# pylint: disable=protected-access
import unittest
from homeassistant.bootstrap import setup_component
@@ -14,12 +14,14 @@ ENTITY_ID = 'script.test'
class TestScriptComponent(unittest.TestCase):
"""Test the Script component."""
def setUp(self): # pylint: disable=invalid-name
# pylint: disable=invalid-name
def setUp(self):
"""Setup things to be run when tests are started."""
self.hass = get_test_home_assistant()
self.hass.config.components.append('group')
def tearDown(self): # pylint: disable=invalid-name
# pylint: disable=invalid-name
def tearDown(self):
"""Stop down everything that was started."""
self.hass.stop()