Merge lp://staging/~tealeg/landscape-client/mocker-replace-test-changer into lp://staging/~landscape/landscape-client/trunk
Proposed by
Geoff Teale
Status: | Merged | ||||
---|---|---|---|---|---|
Approved by: | Geoff Teale | ||||
Approved revision: | 902 | ||||
Merged at revision: | 905 | ||||
Proposed branch: | lp://staging/~tealeg/landscape-client/mocker-replace-test-changer | ||||
Merge into: | lp://staging/~landscape/landscape-client/trunk | ||||
Diff against target: |
460 lines (+125/-206) 1 file modified
landscape/package/tests/test_changer.py (+125/-206) |
||||
To merge this branch: | bzr merge lp://staging/~tealeg/landscape-client/mocker-replace-test-changer | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
🤖 Landscape Builder | test results | Approve | |
Simon Poirier (community) | Approve | ||
Alberto Donato | Approve | ||
Review via email: mp+297681@code.staging.launchpad.net |
Commit message
Replace mocker with mock and patch.
Note that tests that were previously writing shell script and executing those scripts have been *radically* simplified - at least one of these was previous failing to execute it's deferred assertions.
Testing instructions:
Description of the change
Replace mocker with mock and patch.
Note that tests that were previously writing shell script and executing those scripts have been *radically* simplified - at least one of these was previous failing to execute it's deferred assertions.
Testing instructions:
To post a comment you must log in.
Command: TRIAL_ARGS=-j4 make check /ci.lscape. net/job/ latch-test/ 5109/
Result: Fail
Revno: 897
Branch: lp:~tealeg/landscape-client/mocker-replace-test-changer
Jenkins: https:/