'Test if setup adds devices.'

@mock.patch('homeassistant.components.light.mochad.MochadLight')
def test_setup_adds_proper_devices(self, mock_light):

    good_config = {'mochad': {}, 'light': {'platform': 'mochad', 'devices': [{'name': 'Light1', 'address': 'a1'}]}}
    self.assertTrue(setup_component(self.hass, light.DOMAIN, good_config))
