Disable too-many-* (#4107)

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

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

No files matched your search

+5 -3
View File
@@ -1,5 +1,5 @@
"""The tests for the Conversation component."""
# pylint: disable=too-many-public-methods,protected-access
# pylint: disable=protected-access
import unittest
from unittest.mock import patch
@@ -15,7 +15,8 @@ from tests.common import get_test_home_assistant, assert_setup_component
class TestConversation(unittest.TestCase):
"""Test the conversation 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.ent_id = 'light.kitchen_lights'
self.hass = get_test_home_assistant(3)
@@ -28,7 +29,8 @@ class TestConversation(unittest.TestCase):
conversation.DOMAIN: {}
}))
def tearDown(self): # pylint: disable=invalid-name
# pylint: disable=invalid-name
def tearDown(self):
"""Stop everything that was started."""
self.hass.stop()