hass-core/tests/components/test_introduction.py

27 lines
579 B
Python
Raw Normal View History

"""
tests.components.test_introduction
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Test introduction.
"""
import unittest
from homeassistant.components import introduction
2016-02-14 15:08:23 -08:00
from tests.common import get_test_home_assistant
class TestIntroduction(unittest.TestCase):
""" Test Introduction. """
def setUp(self):
2016-02-14 15:08:23 -08:00
self.hass = get_test_home_assistant()
def tearDown(self):
""" Stop down stuff we started. """
self.hass.stop()
def test_setup(self):
""" Test Introduction setup """
self.assertTrue(introduction.setup(self.hass, {}))