Merge lp://qastaging/~zyga/checkbox/bulk-override-api into lp://qastaging/checkbox
Status: | Rejected |
---|---|
Rejected by: | Zygmunt Krynicki |
Proposed branch: | lp://qastaging/~zyga/checkbox/bulk-override-api |
Merge into: | lp://qastaging/checkbox |
Diff against target: |
1010 lines (+405/-88) 18 files modified
checkbox-gui/checkbox-gui/qml/SubmissionDialog.qml (+2/-2) checkbox-gui/gui-engine/gui-engine.cpp (+2/-0) checkbox-ng/checkbox_ng/service.py (+13/-1) live-test (+3/-0) plainbox/plainbox/impl/commands/inv_run.py (+9/-1) plainbox/plainbox/impl/pod.py (+45/-3) plainbox/plainbox/impl/providers/stubbox/units/testplans/all.pxu (+66/-0) plainbox/plainbox/impl/secure/providers/v1.py (+0/-1) plainbox/plainbox/impl/secure/qualifiers.py (+7/-1) plainbox/plainbox/impl/session/jobs.py (+49/-0) plainbox/plainbox/impl/session/manager.py (+73/-57) plainbox/plainbox/impl/session/state.py (+91/-3) plainbox/plainbox/impl/session/test_jobs.py (+8/-1) plainbox/plainbox/impl/session/test_manager.py (+16/-3) plainbox/plainbox/impl/session/test_state.py (+9/-4) plainbox/plainbox/impl/unit/testplan.py (+9/-3) plainbox/plainbox/vendor/morris/__init__.py (+0/-6) providers/plainbox-provider-checkbox/bin/optical_write_test (+3/-2) |
To merge this branch: | bzr merge lp://qastaging/~zyga/checkbox/bulk-override-api |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Checkbox Developers | Pending | ||
Review via email:
|
Description of the change
Hey.
This is one of the last branches in the CEP-8 story. It's NOT MEANT FOR LANDING
NOT MEANT FOR LANDING
So now that's out of the way, I need feedback on the code in this branch. I gave it some manual testing and it's a progressive build upon what we've been adding lately. There are two bugfixes here that affect just the weird test plan I've added to stubbox, some odd commit that belongs in a different branch here and there. The rest are the new features.
Commits have poor messages (short) and I'll expand on them. Some things that deserve automatic tests have none. Some things may use a docstring or two. I'll be working on addressing those today and tomorrow.
The base feature now works and "plainbox run" was patched to use it.
For testing have a look at those two commands:
The flashy one is:
stubbox -P -v run -T 2013.com.
The informative one is:
stubbox -P -v run -T 2013.com.
The full list of patches is:
c87cde5 support: add live-test
b1b2d63 plainbox:
8f10cb3 plainbox:pod: dedent Field.doc
74da3ef plainbox:pod: add Field(notify_
5d699eb plainbox:pod: add unique_
91a2b2d plainbox:
5da1d79 plainbox:
7f1b8ac plainbox:
b8cbd92 plainbox:session: add JobState.
618aff6 plainbox:session: enable doctests for 'state'
33de438 plainbox:session: bump copyright
bb33391 plainbox:session: add SessionDeviceCo
35c75fc plainbox:session: add note about complexity
74193f8 plainbox:session: don't use private SessionManager APIs
ad4eb95 plainbox:session: mock SessionStorage.
2290f77 plainbox:session: remove unused import
69983a7 plainbox:session: convert WellKnownDirsHelper to a POD
9114d86 plainbox:session: convert SessionManager to a POD
528237a plainbox:session: correct SessionManager.
babb3f1 plainbox:session: add SessionManager.
d31f451 plainbox:session: propagate SessionManager.
d7423c4 plainbox:session: neuter '_propagate_
d714399 plainbox:session: mock-away SessionDeviceCo
c1cdcc2 stubbox: add test data for certification-
513d688 plainbox:
ea03682 plainbox:
94cd8df plainbox:
Unmerged revisions
- 3621. By Zygmunt Krynicki
-
checkbox-gui: pass with-certificat
ion-status option to HTML and XML reports Signed-off-by: Zygmunt Krynicki <email address hidden>
- 3620. By Zygmunt Krynicki
-
checkbox-gui: enable 'with-certifica
tion-status' for html and xml exporters Signed-off-by: Zygmunt Krynicki <email address hidden>
- 3619. By Zygmunt Krynicki
-
checkbox-
ng:service: have SelectJobs double as a way to set SessionManager. testplan_ list Signed-off-by: Zygmunt Krynicki <email address hidden>
- 3618. By Zygmunt Krynicki
-
checkbox-
ng:service: minor refactor in ServiceWrapper. SelectJobs( ) Signed-off-by: Zygmunt Krynicki <email address hidden>
- 3617. By Zygmunt Krynicki
-
plainbox:
commands: run: store selected test plan in SessionManager. test_plans Signed-off-by: Zygmunt Krynicki <email address hidden>
- 3616. By Zygmunt Krynicki
-
plainbox:
commands: run: fix PEP-8 issue Signed-off-by: Zygmunt Krynicki <email address hidden>
- 3615. By Zygmunt Krynicki
-
stubbox: add test data for certification-
status feature Signed-off-by: Zygmunt Krynicki <email address hidden>
- 3614. By Zygmunt Krynicki
-
plainbox:session: mock-away SessionDeviceCo
ntext for create_with_state() Signed-off-by: Zygmunt Krynicki <email address hidden>
- 3613. By Zygmunt Krynicki
-
plainbox:session: neuter '_propagate_
test_plans' for testing Signed-off-by: Zygmunt Krynicki <email address hidden>
- 3612. By Zygmunt Krynicki
-
plainbox:session: propagate SessionManager.
test_plans changes to devices Signed-off-by: Zygmunt Krynicki <email address hidden>
xlsx exporter works using:
stubbox -P -v run -T 2013.com. canonical. plainbox: :cert-status- override/ plan -f xlsx -o /tmp/foo.xlsx -p with-unit- categories
The result: http:// people. canonical. com/~spineau/ foo.xlsx