Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1bb061f commit 27d9d42Copy full SHA for 27d9d42
1 file changed
extra/shutils/regressiontest.py
@@ -37,7 +37,7 @@
37
test_count = int(failed_test[1])
38
parse = failed_test[3] if failed_test[3] else None
39
output_folder = failed_test[4]
40
- traceback = failed_test[5]
+ traceback = bool(failed_test[5])
41
detection = True if failed_test[6] else False
42
43
TEST_COUNTS.append(test_count)
@@ -81,7 +81,7 @@
81
82
for test_count, attachment in ATTACHMENTS:
83
attachment = MIMEText(attachment)
84
- attachment.add_header('Content-Disposition', 'attachment', filename="%d.console_output.txt" % test_count)
+ attachment.add_header('Content-Disposition', 'attachment', filename="test_case_%d_console_output.txt" % test_count)
85
msg.attach(attachment)
86
87
s = smtplib.SMTP(host=SMTP_SERVER, port=SMTP_PORT, timeout=SMTP_TIMEOUT)
0 commit comments