Merge lp:~raharper/curtin/trunk.fix-trusty-unittest into lp:~curtin-dev/curtin/trunk
Status: | Merged |
---|---|
Merged at revision: | 425 |
Proposed branch: | lp:~raharper/curtin/trunk.fix-trusty-unittest |
Merge into: | lp:~curtin-dev/curtin/trunk |
Diff against target: |
142 lines (+79/-13) 3 files modified
tests/unittests/helpers.py (+41/-0) tests/unittests/test_block.py (+16/-10) tox.ini (+22/-3) |
To merge this branch: | bzr merge lp:~raharper/curtin/trunk.fix-trusty-unittest |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Server Team CI bot | continuous-integration | Approve | |
curtin developers | Pending | ||
Review via email: mp+305990@code.launchpad.net |
Commit message
unittest,tox.ini: catch and fix issue with trusty-level mock of open
unittest:
- Mock out open calls via builtin
- Handle module name difference between python2.7 and 3.0 via try-except
- Split wipe_zero and wipe_random into separate tests
tox.ini:
- add a 'trusty-py3' and 'trusty-py2' tox environment with more
specific versions as to what is on trusty.
Description of the change
unittest,tox.ini: catch and fix issue with trusty-level mock of open
unittest:
- Mock out open calls via builtin
- Handle module name difference between python2.7 and 3.0 via try-except
- Split wipe_zero and wipe_random into separate tests
tox.ini:
- add a 'trusty-py3' and 'trusty-py2' tox environment with more
specific versions as to what is on trusty.
PASSED: Continuous integration, rev:427 /jenkins. ubuntu. com/server/ job/curtin- ci/262/ /jenkins. ubuntu. com/server/ job/curtin- ci/nodes= amd64/262 /jenkins. ubuntu. com/server/ job/curtin- ci/nodes= ppc64el/ 262 /jenkins. ubuntu. com/server/ job/curtin- ci/nodes= s390x/262
https:/
Executed test runs:
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
Click here to trigger a rebuild: /jenkins. ubuntu. com/server/ job/curtin- ci/262/ rebuild
https:/