Merge ppa-dev-tools:fix-lp2038649-tests-result-duplicated into ppa-dev-tools:main
Proposed by
Bryce Harrington
Status: | Merged | ||||
---|---|---|---|---|---|
Merge reported by: | Bryce Harrington | ||||
Merged at revision: | 39a8cb0df2c351c911b4e43b2d473d1e04497ef4 | ||||
Proposed branch: | ppa-dev-tools:fix-lp2038649-tests-result-duplicated | ||||
Merge into: | ppa-dev-tools:main | ||||
Diff against target: |
79 lines (+37/-8) 2 files modified
ppa/result.py (+6/-7) tests/test_result.py (+31/-1) |
||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Athos Ribeiro (community) | Approve | ||
PpaDevTools Developers | Pending | ||
Canonical Server Reporter | Pending | ||
Review via email: mp+453588@code.staging.launchpad.net |
Description of the change
Implements a fix for display of too many results.
This was due to double-looping over the results, so if there were 2 results 4 would be displayed, if 3 then 9, etc. Fun!
I took the opportunity to also implement tests for show_results().
To post a comment you must log in.
There was an error fetching revisions from git servers. Please try again in a few minutes. If the problem persists, contact Launchpad support.
LGTM! Thank you, Bryce :)