From 5ba5e0ffb180d6841649de1d86e1beb7a29961a3 Mon Sep 17 00:00:00 2001 From: Ryan Kraus Date: Sun, 30 Aug 2015 04:30:19 -0400 Subject: [PATCH] Added another conversation test. --- tests/components/test_conversation.py | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/tests/components/test_conversation.py b/tests/components/test_conversation.py index b8f87705a4f..4358603a49b 100644 --- a/tests/components/test_conversation.py +++ b/tests/components/test_conversation.py @@ -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))