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
@@ -11,7 +11,7 @@ import homeassistant.loader as loader
|
||||
from homeassistant.const import STATE_ON, STATE_OFF, CONF_PLATFORM
|
||||
import homeassistant.components.switch as switch
|
||||
|
||||
from common import get_test_home_assistant
|
||||
from tests.common import get_test_home_assistant
|
||||
|
||||
|
||||
class TestSwitch(unittest.TestCase):
|
||||
|
||||
Reference in new issue
Block a user