Merge ppa-dev-tools:refactor-autopkgtest-results into ppa-dev-tools:main
Status: | Merged |
---|---|
Merged at revision: | 6c63268fdbe01cbd7ca456a0eac6c2313116f551 |
Proposed branch: | ppa-dev-tools:refactor-autopkgtest-results |
Merge into: | ppa-dev-tools:main |
Diff against target: |
286 lines (+126/-31) 5 files modified
ppa/ppa.py (+25/-0) ppa/result.py (+1/-1) scripts/ppa (+14/-24) tests/test_ppa.py (+78/-5) tests/test_result.py (+8/-1) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Andreas Hasenack (community) | Approve | ||
PpaDevTools Developers | Pending | ||
Canonical Server | Pending | ||
Canonical Server Reporter | Pending | ||
Review via email: mp+449980@code.staging.launchpad.net |
Description of the change
Refactors logic out of the tests command relating to Autopkgtest results into a new
get_autopkgtest
The test case was the most challenging part, but I feel its finally adequate. I plan to add some functionality for filtering and refining the test results displayed when running 'ppa tests <ppa>' so that you can limit to particular packages, releases, etc. However, before getting into that I wanted a solid test to base the work on. In implementing this I can see some additional refactoring that could make the test more concise and narrowly focused, however I'll leave that to the planned followup work.
In addition to this commit, I'm including several testing-related refinements that feel like they go along with this.
There was an error fetching revisions from git servers. Please try again in a few minutes. If the problem persists, contact Launchpad support.
+1, just two minor optional comments.