Merge lp:~abentley/launchpad/better-find-missing-ready-error into lp:launchpad
| Status: | Merged |
|---|---|
| Approved by: | Aaron Bentley on 2012-08-02 |
| Approved revision: | no longer in the source branch. |
| Merged at revision: | 15735 |
| Proposed branch: | lp:~abentley/launchpad/better-find-missing-ready-error |
| Merge into: | lp:launchpad |
| Diff against target: |
96 lines (+41/-13) 2 files modified
lib/lp/services/job/celeryjob.py (+17/-6) lib/lp/services/job/tests/test_celeryjob.py (+24/-7) |
| To merge this branch: | bzr merge lp:~abentley/launchpad/better-find-missing-ready-error |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Abel Deuring (community) | code | 2012-08-02 | Approve on 2012-08-02 |
|
Review via email:
|
|||
Commit Message
More detailed failures in test_find_
Description of the Change
= Summary =
Add more detail to test_find_
== Proposed fix ==
Instead of re-calling list_queues for extra info, use the exact same data as find_missing_ready used.
== Pre-implementation notes ==
Discussed with Deryck
== LOC Rationale ==
I have a LOC credit of 1888
== Implementation details ==
Convert find_missing_ready to FindMissingReady, so that we examine its instance variables.
== Tests ==
bin/test -t test_find_
== Demo and Q/A ==
None
= Launchpad lint =
Checking for conflicts and issues in changed files.
Linting changed files:
lib/lp/
lib/lp/

looks good, just a minor nitpick: I think that
+ from lp.services. job.celeryjob import FindMissingReady
could be moved to the start f the method definition.