* update unittests like #3414 * setup_component - splunk * setup_component - statsd * fix statsd & splunk unittest config values * component_setup - device_sun_light_trigger * setup_component - introduction * component_setup - persistent_notification * setup_component - logentries, mqtt eventstream * fix unittest logentries
23 lines
666 B
Python
23 lines
666 B
Python
"""The tests for the Introduction component."""
|
|
import unittest
|
|
|
|
from homeassistant.bootstrap import setup_component
|
|
from homeassistant.components import introduction
|
|
|
|
from tests.common import get_test_home_assistant
|
|
|
|
|
|
class TestIntroduction(unittest.TestCase):
|
|
"""Test Introduction."""
|
|
|
|
def setUp(self):
|
|
"""Setup things to be run when tests are started."""
|
|
self.hass = get_test_home_assistant()
|
|
|
|
def tearDown(self):
|
|
"""Stop down everything that was started."""
|
|
self.hass.stop()
|
|
|
|
def test_setup(self):
|
|
"""Test introduction setup."""
|
|
self.assertTrue(setup_component(self.hass, introduction.DOMAIN, {}))
|