Merge lp:~bac/launchpad/bug-1007111 into lp:launchpad
| Status: | Merged |
|---|---|
| Approved by: | Gary Poster on 2012-06-01 |
| Approved revision: | no longer in the source branch. |
| Merged at revision: | 15350 |
| Proposed branch: | lp:~bac/launchpad/bug-1007111 |
| Merge into: | lp:launchpad |
| Diff against target: |
150 lines (+57/-29) 2 files modified
lib/lp/services/testing/customresult.py (+10/-8) lib/lp/services/testing/tests/test_customresult.py (+47/-21) |
| To merge this branch: | bzr merge lp:~bac/launchpad/bug-1007111 |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Gary Poster (community) | 2012-06-01 | Approve on 2012-06-01 | |
|
Review via email:
|
|||
Commit Message
Make --load-list account for duplicate tests across layers.
Description of the Change
= Summary =
--load-list now accounts for multiple tests with the same id to
account for legacy Launchpad testing infrastructure. It was assumed
incorrectly that those repeated tests were all in the same layer.
== Proposed fix ==
Account for repeated tests appearing in multiple layers.
== Tests ==
bin/test -vv lp.services.
== Demo and Q/A ==
% echo "lib/lp/
% bin/test --list-tests --load-list /tmp/t0
Listing lp.testing.
lib/lp/
lib/lp/
lib/lp/
Listing lp.services.
lib/lp/
Listing lp.testing.
lib/lp/
= Launchpad lint =
Checking for conflicts and issues in changed files.
Linting changed files:
lib/lp/
lib/lp/

Great, thanks!
We talked on IRC about benji's concern with naming Python file objects after file descriptors, and so possibly changing "fd" to "f" or something else. As I said, your call.
Also as we discussed even earlier, I'd like to see bug 682772 addressed as well (and maybe engage with Robert on ideas he has for a good hook point for bug 682771 if that's not clear) but we have that on our board, and this is a good change.