Fix the subject in test_put_reviewrequestdraft_publish
Review Request #4621 — Created Sept. 21, 2013 and submitted
Fix the subject in test_put_reviewrequestdraft_publish
In Django 1.5.x, the locmem email backend will trigger header validation and
generate a message ID. This means that the subject when publishing a second
draft will be "Re: ...". Our previous implementation of the assertion was
actually incorrect, but it took a while to convince myself of that.
Ran unit tests.
-
This is a review from Review Bot.
Tool: Pyflakes
Processed Files:
reviewboard/webapi/tests/test_review_request_draft.py
Ignored Files:
- Diff:
-
Revision 2 (+78 -71)
-
This is a review from Review Bot.
Tool: PEP8 Style Checker
Processed Files:
setup.py
reviewboard/webapi/tests/base.py
reviewboard/site/tests.py
reviewboard/webapi/tests/test_review_request_draft.py
Ignored Files:
reviewboard/templates/reviews/review_detail.html
reviewboard/templates/reviews/user_page.html
reviewboard/templates/reviews/ui/base.html
reviewboard/templates/reviews/review_reply.html
reviewboard/templates/base.html
reviewboard/templates/accounts/password_reset_confirm.html
reviewboard/templates/404.html
reviewboard/templates/accounts/password_reset_complete.html
reviewboard/templates/diffviewer/diff_file_fragment.html
reviewboard/templates/reviews/review_request_box.html
reviewboard/templates/admin/repository_confirmations.html
reviewboard/templates/reviews/dashboard_entry.html
reviewboard/templates/diffviewer/diff_fragment_error.html
reviewboard/templates/reviews/review_issue_summary_table.html
reviewboard/templates/admin/base_site.html
reviewboard/templates/notifications/review_request_email.html
reviewboard/templates/admin/widgets/w-actions.html
reviewboard/templates/notifications/review_request_email.txt
reviewboard/templates/accounts/login.html
reviewboard/templates/accounts/password_reset_email.txt
reviewboard/templates/base/branding.html
-
This is a review from Review Bot.
Tool: Pyflakes
Processed Files:
setup.py
reviewboard/webapi/tests/base.py
reviewboard/site/tests.py
reviewboard/webapi/tests/test_review_request_draft.py
Ignored Files:
reviewboard/templates/reviews/review_detail.html
reviewboard/templates/reviews/user_page.html
reviewboard/templates/reviews/ui/base.html
reviewboard/templates/reviews/review_reply.html
reviewboard/templates/base.html
reviewboard/templates/accounts/password_reset_confirm.html
reviewboard/templates/404.html
reviewboard/templates/accounts/password_reset_complete.html
reviewboard/templates/diffviewer/diff_file_fragment.html
reviewboard/templates/reviews/review_request_box.html
reviewboard/templates/admin/repository_confirmations.html
reviewboard/templates/reviews/dashboard_entry.html
reviewboard/templates/diffviewer/diff_fragment_error.html
reviewboard/templates/reviews/review_issue_summary_table.html
reviewboard/templates/admin/base_site.html
reviewboard/templates/notifications/review_request_email.html
reviewboard/templates/admin/widgets/w-actions.html
reviewboard/templates/notifications/review_request_email.txt
reviewboard/templates/accounts/login.html
reviewboard/templates/accounts/password_reset_email.txt
reviewboard/templates/base/branding.html -
-
This is a review from Review Bot.
Tool: PEP8 Style Checker
Processed Files:
reviewboard/webapi/tests/test_review_request_draft.py
Ignored Files: