def test_split_entity_string(self):
    'Test splitting of entity string.'
    service.call_from_config(self.hass, {'service': 'test_domain.test_service', 'entity_id': 'hello.world, sensor.beer'})
    self.hass.block_till_done()
    self.assertEqual(['hello.world', 'sensor.beer'], self.calls[(- 1)].data.get('entity_id'))
Test splitting of entity string.
def test_split_entity_string(self):
    
    service.call_from_config(self.hass, {'service': 'test_domain.test_service', 'entity_id': 'hello.world, sensor.beer'})
    self.hass.block_till_done()
    self.assertEqual(['hello.world', 'sensor.beer'], self.calls[(- 1)].data.get('entity_id'))