def setup(self): self.api_logger = api.APILogger(mock.MagicMock(), mock.MagicMock())
def setup(self): self.api_logger = api.APILogger(mock.MagicMock(), mock.MagicMock(), ['application/json', 'text/plain'])