Nicer test imports
unittest changes import path so old style worked but is confusing
This commit is contained in:
1 parent
14023a15e6
commit
df3ee6005a
9 files changed
+9
-9
No files matched your search
@@ -15,7 +15,7 @@ from homeassistant.const import (
|
||||
SERVICE_MEDIA_PLAY_PAUSE, SERVICE_MEDIA_PLAY, SERVICE_MEDIA_PAUSE,
|
||||
SERVICE_MEDIA_NEXT_TRACK, SERVICE_MEDIA_PREVIOUS_TRACK, ATTR_ENTITY_ID)
|
||||
import homeassistant.components.media_player as media_player
|
||||
from common import mock_service
|
||||
from tests.common import mock_service
|
||||
|
||||
|
||||
def setUpModule(): # pylint: disable=invalid-name
|
||||
|
||||
Reference in new issue
Block a user