Tests should all use test HA

This commit is contained in:
Paulus Schoutsen
2016-02-14 15:08:23 -08:00
parent bade0e0d71
commit 09ab3e95c0
52 changed files with 170 additions and 125 deletions

View File

@@ -6,15 +6,16 @@ Test introduction.
"""
import unittest
import homeassistant.core as ha
from homeassistant.components import introduction
from tests.common import get_test_home_assistant
class TestIntroduction(unittest.TestCase):
""" Test Introduction. """
def setUp(self):
self.hass = ha.HomeAssistant()
self.hass = get_test_home_assistant()
def tearDown(self):
""" Stop down stuff we started. """