Merge lp:~adeuring/launchpad/bug-333521-allow-mail-to-question-subscribers into lp:launchpad/db-devel
Proposed by
Abel Deuring
on 2010-04-21
| Status: | Merged |
|---|---|
| Merged at revision: | not available |
| Proposed branch: | lp:~adeuring/launchpad/bug-333521-allow-mail-to-question-subscribers |
| Merge into: | lp:launchpad/db-devel |
| Diff against target: |
98 lines (+45/-2) 2 files modified
database/schema/security.cfg (+4/-0) lib/lp/bugs/tests/test_bugnotification.py (+41/-2) |
| To merge this branch: | bzr merge lp:~adeuring/launchpad/bug-333521-allow-mail-to-question-subscribers |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Jeroen T. Vermeulen (community) | 2010-04-21 | Approve on 2010-04-21 | |
|
Review via email:
|
|||
Description of the Change
A test run of the bug expiration script (cronscripts/
This branch adds the missing permissions and a unit test that ensures that the notification mails are properly created.
test: ./bin/test -vvt test_bugnotific
no lint
To post a comment you must log in.

IRC notes:
* No need to login(); pass the email address to the TestCaseWithFactory constructor instead.
* No need to set up product_owner separately; might as well let makeProduct do that.
* Don't make your test comparison rely on the ordering of the recipients list.
* What is a "sub" as mentioned in the test docstring?
* Don't say "Ensure that" in tests. Ensuring things is what tests do.
* Don't hard-code persons' names and email addresses when all you want to do is compare for equality.
You've addressed all of these. Thanks for that!
Jeroen