From 4405d09d38c874fd135909fb11cc4289c83cc606 Mon Sep 17 00:00:00 2001 From: Paulus Schoutsen Date: Tue, 25 Nov 2014 21:42:33 -0800 Subject: [PATCH] Tweak light test to create correct exception --- test/test_component_light.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test_component_light.py b/test/test_component_light.py index ec0d032d35e..6bc29498742 100644 --- a/test/test_component_light.py +++ b/test/test_component_light.py @@ -178,7 +178,7 @@ class TestLight(unittest.TestCase): # Test shitty data light.turn_on(self.hass, dev1.entity_id, profile="nonexisting") - light.turn_on(self.hass, dev2.entity_id, xy_color="bla-di-bla") + light.turn_on(self.hass, dev2.entity_id, xy_color=["bla-di-bla", 5]) light.turn_on(self.hass, dev3.entity_id, rgb_color=[255, None, 2]) self.hass._pool.block_till_done()