# Extract everything between AssertionError and the start
# of the assert statement expansion in the pytest report
msg = match.group(1)
# Extract everything between AssertionError and the start
# of the assert statement expansion in the pytest report
msg = match.group(1)
worksheet.write(row, 0, str(err_num), normal)
worksheet.write(row, 1, "\n".join(failure.files), normal)
worksheet.write(row, 2, failure.requirement_text(reqs), normal)
worksheet.write(row, 0, str(err_num), normal)
worksheet.write(row, 1, "\n".join(failure.files), normal)
worksheet.write(row, 2, failure.requirement_text(reqs), normal)
- worksheet.write(row, 3, failure.error_message, normal)
+ worksheet.write(row, 3, failure.error_message.replace("\n", "\n\n"), normal)
worksheet.write(row, 4, failure.test_id, normal)
err_num += 1
worksheet.autofilter(
worksheet.write(row, 4, failure.test_id, normal)
err_num += 1
worksheet.autofilter(
{
"file_links": make_href(failure.files, template_path),
"test_id": failure.test_id,
{
"file_links": make_href(failure.files, template_path),
"test_id": failure.test_id,
"raw_output": failure.raw_output,
"requirements": docutils.core.publish_parts(
writer_name="html", source=failure.requirement_text(reqs)
"raw_output": failure.raw_output,
"requirements": docutils.core.publish_parts(
writer_name="html", source=failure.requirement_text(reqs)