Merge lp:~wesley-wiedenmeier/curtin/fix-unittests into lp:~curtin-dev/curtin/trunk
Proposed by
Wesley Wiedenmeier
Status: | Merged |
---|---|
Merged at revision: | 416 |
Proposed branch: | lp:~wesley-wiedenmeier/curtin/fix-unittests |
Merge into: | lp:~curtin-dev/curtin/trunk |
Diff against target: |
30 lines (+3/-3) 1 file modified
tests/unittests/test_apt_source.py (+3/-3) |
To merge this branch: | bzr merge lp:~wesley-wiedenmeier/curtin/fix-unittests |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Christian Ehrhardt | Approve | ||
Ryan Harper (community) | Approve | ||
Server Team CI bot | continuous-integration | Approve | |
Review via email: mp+302200@code.launchpad.net |
Description of the change
Fix the unittests for test_apt_source.
Right now the tests have calls to '.assert_called()' which isn't a valid function in a mock object (although it should be)
Interestingly, this only causes the unittests to fail when running 'make check', but not when running tox.
I think that tox may be skipping these tests completely.
To post a comment you must log in.
PASSED: Continuous integration, rev:416 /jenkins. ubuntu. com/server/ job/curtin- ci/227/ /jenkins. ubuntu. com/server/ job/curtin- ci/nodes= amd64/227 /jenkins. ubuntu. com/server/ job/curtin- ci/nodes= ppc64el/ 227
https:/
Executed test runs:
SUCCESS: https:/
SUCCESS: https:/
Click here to trigger a rebuild: /jenkins. ubuntu. com/server/ job/curtin- ci/227/ rebuild
https:/