'Ensures no events of a given type were published since the last
event related assertion.
We are relatively specific since things like implicit HTTP
events almost always do get omitted, and new event types get
added all the time. This is not useful without a filter.'

def assert_no_events_published(self, event_type):

    for event in self.events:
        self.assertNotEqual(event['event_type'], event_type)
