Merge lp:~wallyworld/launchpad/launchpadlib-services-974139 into lp:launchpad
Status: | Work in progress | ||||
---|---|---|---|---|---|
Proposed branch: | lp:~wallyworld/launchpad/launchpadlib-services-974139 | ||||
Merge into: | lp:launchpad | ||||
Diff against target: |
219 lines (+54/-56) 8 files modified
lib/lp/app/configure.zcml (+0/-8) lib/lp/app/interfaces/services.py (+25/-1) lib/lp/app/services.py (+13/-7) lib/lp/app/tests/test_services.py (+9/-2) lib/lp/registry/interfaces/webservice.py (+5/-1) lib/lp/registry/services/tests/test_sharingservice.py (+1/-4) lib/lp/services/webservice/services.py (+0/-32) versions.cfg (+1/-1) |
||||
To merge this branch: | bzr merge lp:~wallyworld/launchpad/launchpadlib-services-974139 | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Launchpad code reviewers | Pending | ||
Review via email: mp+101349@code.launchpad.net |
Commit message
Rework export of ServiceFactory so that launchpadlib top level 'services' collection can be used.
Description of the change
== Implementation ==
The changes in this branch allow launchpadlib to be used like so:
lp = Launchpad(...)
service = lp.services[
service.
Essentially, ServiceFactory is made a web service collection (requiring a collection_
The changes mean that lp.services.
This branch can be landed after lp:~wallyworld/launchpadlib/services-serviceroot
== Tests ==
The TestLaunchpadlib test case was changed to locate the service using the new syntax.
An additional test_registered
== Lint ==
Checking for conflicts and issues in changed files.
Linting changed files:
versions.cfg
lib/lp/
lib/lp/
lib/lp/
lib/lp/
lib/lp/
lib/lp/