Remove unused legacy test helper methods (#16893)
This commit is contained in:
1 parent
dd45e99302
commit
4b674b1d16
3 files changed
+2
-45
No files matched your search
@@ -49,18 +49,6 @@ def select_previous(hass, entity_id):
|
||||
})
|
||||
|
||||
|
||||
@bind_hass
|
||||
def set_options(hass, entity_id, options):
|
||||
"""Set options of input_select.
|
||||
|
||||
This is a legacy helper method. Do not use it for new tests.
|
||||
"""
|
||||
hass.services.call(DOMAIN, SERVICE_SET_OPTIONS, {
|
||||
ATTR_ENTITY_ID: entity_id,
|
||||
ATTR_OPTIONS: options,
|
||||
})
|
||||
|
||||
|
||||
class TestInputSelect(unittest.TestCase):
|
||||
"""Test the input select component."""
|
||||
|
||||
|
||||
Reference in new issue
Block a user