hass-core/tests/components/test_introduction.py
2016-02-13 14:19:11 +01:00

25 lines
554 B
Python

"""
tests.components.test_introduction
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Test introduction.
"""
import unittest
import homeassistant.core as ha
from homeassistant.components import introduction
class TestIntroduction(unittest.TestCase):
""" Test Introduction. """
def setUp(self):
self.hass = ha.HomeAssistant()
def tearDown(self):
""" Stop down stuff we started. """
self.hass.stop()
def test_setup(self):
""" Test Introduction setup """
self.assertTrue(introduction.setup(self.hass, {}))