Merge lp:~gmb/launchpad/refactor-bugnotificationbuilder-bug-594211-part-2 into lp:launchpad
Status: | Merged |
---|---|
Approved by: | Graham Binns |
Approved revision: | no longer in the source branch. |
Merged at revision: | 11201 |
Proposed branch: | lp:~gmb/launchpad/refactor-bugnotificationbuilder-bug-594211-part-2 |
Merge into: | lp:launchpad |
Diff against target: |
333 lines (+298/-3) 3 files modified
lib/lp/bugs/configure.zcml (+8/-0) lib/lp/bugs/mail/bugnotificationrecipients.py (+101/-3) lib/lp/bugs/mail/tests/test_bugnotificationrecipients.py (+189/-0) |
To merge this branch: | bzr merge lp:~gmb/launchpad/refactor-bugnotificationbuilder-bug-594211-part-2 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Abel Deuring (community) | code | Approve | |
Review via email: mp+30649@code.launchpad.net |
Commit message
A BugNotification
Description of the change
BugNotification Refactoring: The saga continues
=======
Ah, what fun. This branch is the eventual culmination of several weeks'
development work. It's actually about two days' worth of work - there's
a whole lot of crap that I've had to revert to get tests to pass; I
realise now that my strategy was too ambitious in the first place, so
I've pared this branch down to the simplest it could be whilst still
adding value (shame I couldn't have hear Curtis' Epic talk two weeks
earlier).
Anyway.
This branch adds a BugNotification
next step in refactoring bug notifications to use BaseMailer. The new
class isn't hooked up to anything yet; I'll do that in a subsequent
branch since it seems to break every test *evar* (there are a lot of
tests that rely on notification reasons behaving like strings for some
reason).
I've added unittests to cover the new class.
No lint.
nice work!