'Test firing of event if no match.'

def test_if_not_fires_if_event_data_not_matches(self):

    assert setup_component(self.hass, automation.DOMAIN, {automation.DOMAIN: {'trigger': {'platform': 'event', 'event_type': 'test_event', 'event_data': {'some_attr': 'some_value'}}, 'action': {'service': 'test.automation'}}})
    self.hass.bus.fire('test_event', {'some_attr': 'some_other_value'})
    self.hass.block_till_done()
    self.assertEqual(0, len(self.calls))
