'Setup things to be run when tests are started.'

def setUp(self):

    self.hass = get_test_home_assistant()
    self.assertTrue(setup_component(self.hass, lock.DOMAIN, {'lock': {'platform': 'demo'}}))
