Merge ppa-dev-tools:fix-lp-test into ppa-dev-tools:main
Proposed by
Bryce Harrington
Status: | Merged |
---|---|
Merge reported by: | Bryce Harrington |
Merged at revision: | 572c3cfb8e7a15f15d44ae0b7eb28e050156e904 |
Proposed branch: | ppa-dev-tools:fix-lp-test |
Merge into: | ppa-dev-tools:main |
Diff against target: |
174 lines (+56/-49) 2 files modified
ppa/lp.py (+1/-1) tests/test_lp.py (+55/-48) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Athos Ribeiro (community) | Approve | ||
Canonical Server Reporter | Pending | ||
Review via email: mp+429716@code.staging.launchpad.net |
Description of the change
This finishes the implementation of test cases for the Launchpad object.
There may be some cleaner ways to implement some of the logic; there's a lot to MagicMock that I haven't mastered yet.
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.
Nice!
Thanks Bryce, LGTM.
While working on running the test suite, I realized xdg is only used to fetch the home configuration directory. I wonder if there is a better way to find the lp credentials without depending on xdg. How does LP writes that file?