def should_jsonify_events(self): assert mod.jsonify.calls('()', {'events': mod.get_events()})
def setup(self): super(WhenGettingEvents, self).setup() self.query = Dingus() self.returned = get_events(self.query)