Nicer test imports

unittest changes import path so old style worked but is confusing
This commit is contained in:
Paulus Schoutsen committed 2015-08-04 18:15:22 +02:00
1 parent 14023a15e6
commit df3ee6005a
9 files changed
+9 -9

No files matched your search

+1 -1
View File
@@ -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):