Speed up tests
This commit is contained in:
parent
a34b00bc9c
commit
58afbecd05
21 changed files with 98 additions and 82 deletions
|
@ -5,7 +5,6 @@ tests.test_component_media_player
|
|||
Tests media_player component.
|
||||
"""
|
||||
# pylint: disable=too-many-public-methods,protected-access
|
||||
import logging
|
||||
import unittest
|
||||
|
||||
import homeassistant.core as ha
|
||||
|
@ -18,11 +17,6 @@ import homeassistant.components.media_player as media_player
|
|||
from tests.common import mock_service
|
||||
|
||||
|
||||
def setUpModule(): # pylint: disable=invalid-name
|
||||
""" Setup to ignore media_player errors. """
|
||||
logging.disable(logging.CRITICAL)
|
||||
|
||||
|
||||
class TestMediaPlayer(unittest.TestCase):
|
||||
""" Test the media_player module. """
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue