Limit dependencies of HA core (#2762)

This commit is contained in:
Paulus Schoutsen 2016-08-08 20:21:40 -07:00 committed by GitHub
parent 915b9cb3eb
commit 640a8b5a7f
13 changed files with 53 additions and 62 deletions

View file

@ -37,11 +37,6 @@ class TestHelpersEntity(unittest.TestCase):
state = self.hass.states.get(self.entity.entity_id)
self.assertTrue(state.attributes.get(ATTR_HIDDEN))
def test_split_entity_id(self):
"""Test split_entity_id."""
self.assertEqual(['domain', 'object_id'],
entity.split_entity_id('domain.object_id'))
def test_generate_entity_id_requires_hass_or_ids(self):
"""Ensure we require at least hass or current ids."""
fmt = 'test.{}'