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_TURN_ON, SERVICE_TURN_OFF)
|
||||
import homeassistant.components.light as light
|
||||
|
||||
from common import mock_service, get_test_home_assistant
|
||||
from tests.common import mock_service, get_test_home_assistant
|
||||
|
||||
|
||||
class TestLight(unittest.TestCase):
|
||||
|
||||
Reference in new issue
Block a user