Merge lp:~jml/launchpad/split-mail-and-summary into lp:launchpad
| Status: | Merged | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Approved by: | Robert Collins on 2010-09-21 | ||||||||||||
| Approved revision: | no longer in the source branch. | ||||||||||||
| Merged at revision: | 11596 | ||||||||||||
| Proposed branch: | lp:~jml/launchpad/split-mail-and-summary | ||||||||||||
| Merge into: | lp:launchpad | ||||||||||||
| Diff against target: |
551 lines (+259/-46) 3 files modified
lib/devscripts/ec2test/remote.py (+87/-15) lib/devscripts/ec2test/tests/test_remote.py (+168/-30) lib/lp/services/job/tests/test_runner.py (+4/-1) |
||||||||||||
| To merge this branch: | bzr merge lp:~jml/launchpad/split-mail-and-summary | ||||||||||||
| Related bugs: |
|
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Robert Collins (community) | 2010-09-21 | Approve on 2010-09-21 | |
|
Review via email:
|
|||
Commit Message
Improve the email sent by ec2 test.
Description of the Change
Hello,
This branch changes the email sent by ec2 test. Rather than being a mere lump of stuff that we have collected as summary, it's a custom built message derived from the test results.
Examples:
* http://
* http://
Implementation-
The details:
* If the test child process exits with a non-zero code and we have no test results, we raise an error, since it's likely to be something weird.
* Included in the diff are changes from a merge proposal that I should have applied before landing my previous branch. Mostly stylistic.
* Some tests were incorrect. They used a dictionary to fake an email message, but had the subject stored under the wrong key ("Subject:" rather than "Subject").
I look forward to your review.
jml

This is nice.
A few thoughts for now, or later, or never.
Perhaps testrepository would make this a lot smaller? Like tiny?
Perhaps Fixtures would make some of the test machinery a little cleaner. (we can use them in LP).