Merge ~kissiel/checkbox-support:zapper-capabilities-in-proxy into checkbox-support:master
Proposed by
Maciej Kisielewski
Status: | Merged |
---|---|
Approved by: | Maciej Kisielewski |
Approved revision: | 05328605fd6ca595b2ddd65b2aa4564ae9050170 |
Merged at revision: | 98d3933ad70ba0ef8a8189975f376b46fe42d5e5 |
Proposed branch: | ~kissiel/checkbox-support:zapper-capabilities-in-proxy |
Merge into: | checkbox-support:master |
Diff against target: |
284 lines (+207/-36) 2 files modified
checkbox_support/scripts/tests/test_zapper_proxy.py (+129/-0) checkbox_support/scripts/zapper_proxy.py (+78/-36) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Devices Certification Bot | Needs Fixing | ||
Paul Larson | Approve | ||
Review via email: mp+421204@code.launchpad.net |
Description of the change
This MR brings stuff to the Zapper Proxy.
First of all it adds missing unit tests.
It fixes the call in usb_set_state.
It adds the call for getting Zappers functionality.
And it changes the main "driver" of the script from ordinary main to a class, so other code of checkbox-support may use it directly, instead of spawning a new process.
To post a comment you must log in.
2 minor spelling issues, but I'll hit approve here with the assumption that you'll likely fix those :)