Merge lp:~dpb/latch-test/dont-be-so-verbose into lp:latch-test
Proposed by
David Britton
Status: | Merged |
---|---|
Approved by: | David Britton |
Approved revision: | 14 |
Merged at revision: | 10 |
Proposed branch: | lp:~dpb/latch-test/dont-be-so-verbose |
Merge into: | lp:latch-test |
Diff against target: |
360 lines (+173/-45) 2 files modified
latch.py (+54/-24) test_latch.py (+119/-21) |
To merge this branch: | bzr merge lp:~dpb/latch-test/dont-be-so-verbose |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Alberto Donato (community) | Approve | ||
Free Ekanayaka (community) | Approve | ||
🤖 Landscape Builder | test results | Approve | |
Review via email: mp+270211@code.launchpad.net |
Commit message
- Don't treat failed LP reads the same as an empty set read
- Don't post such big latch messages, people can just click the results link that latch sticks in there.
Description of the change
- Refactored code to make the failed read from launchpad actionable
- Stop posting full text of failure to MP
- Added test cases for refactored code (mostly overlap with existing ones)
Please feel free to flame me for testing what could be done better, mocking, etc. I didn't want to spend too much time here, but wanted to make a good change at the same time.
To post a comment you must log in.
Command: make test /ci.lscape. net/job/ latch-test/ 2272/
Result: Success
Revno: 13
Branch: lp:~davidpbritton/latch-test/dont-be-so-verbose
Jenkins: https:/