def METHOD_NAME(self):
    wb = Workbook(write_only=True)
    self._generate_sheets(wb)
    with NamedTemporaryFile(delete=False) as tempfile:
        wb.save(tempfile)
        return tempfile, self._result_file_name()