mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 05:07:41 +00:00
Added another conversation test.
This commit is contained in:
parent
10054567de
commit
5ba5e0ffb1
@ -78,3 +78,12 @@ class TestConversation(unittest.TestCase):
|
||||
event_data = {conversation.ATTR_TEXT: 'turn kitchen over'}
|
||||
self.assertTrue(self.hass.services.call(
|
||||
conversation.DOMAIN, 'process', event_data, True))
|
||||
|
||||
def test_setup_and_bad_request_notext(self):
|
||||
""" Setup and perform requests with bad command with no text """
|
||||
self.assertTrue(
|
||||
conversation.setup(self.hass, {conversation.DOMAIN: {}}))
|
||||
|
||||
event_data = {}
|
||||
self.assertTrue(self.hass.services.call(
|
||||
conversation.DOMAIN, 'process', event_data, True))
|
||||
|
Loading…
x
Reference in New Issue
Block a user