Merge ~bryce/ppa-dev-tools/+git/ppa-dev-tools-1:fix-lp2038649-tests-result-duplicated into ~bryce/ppa-dev-tools/+git/ppa-dev-tools-1:main
Proposed by
Bryce Harrington
| Status: | Merged | ||||
|---|---|---|---|---|---|
| Merge reported by: | Bryce Harrington | ||||
| Merged at revision: | 39a8cb0df2c351c911b4e43b2d473d1e04497ef4 | ||||
| Proposed branch: | ~bryce/ppa-dev-tools/+git/ppa-dev-tools-1:fix-lp2038649-tests-result-duplicated | ||||
| Merge into: | ~bryce/ppa-dev-tools/+git/ppa-dev-tools-1: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:
|
|||
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 :)