Merge pull request #405 from balloob/automation-event

Event automation fuzzy matches on data
This commit is contained in:
Paulus Schoutsen committed 2015-09-19 10:43:02 -07:00
commit 55f6ff86e4
2 files changed
+5 -3

No files matched your search

+2 -1
View File
@@ -98,7 +98,8 @@ class TestAutomationEvent(unittest.TestCase):
}
}))
self.hass.bus.fire('test_event', {'some_attr': 'some_value'})
self.hass.bus.fire('test_event', {'some_attr': 'some_value',
'another': 'value'})
self.hass.pool.block_till_done()
self.assertEqual(1, len(self.calls))