Merge ~smoser/curtin:fix/no-use-assert-called into curtin:master
Proposed by
Scott Moser
Status: | Merged |
---|---|
Approved by: | Scott Moser |
Approved revision: | f39007a27555be5a1c8c0ceb1130cffe23bb70ac |
Merge reported by: | Scott Moser |
Merged at revision: | ae48e86fb0289738c71111000d587fcade7fdc66 |
Proposed branch: | ~smoser/curtin:fix/no-use-assert-called |
Merge into: | curtin:master |
Diff against target: |
13 lines (+1/-1) 1 file modified
tests/unittests/test_commands_block_meta.py (+1/-1) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Server Team CI bot | continuous-integration | Approve | |
Ryan Harper (community) | Approve | ||
Review via email: mp+345945@code.launchpad.net |
Commit message
tests: replace usage of mock.assert_called
assert_called is only in mock 2 or newer, meaning this was failing
to run tests in a xenial build environment.
So just replace assert_called usage with assertTrue(
Description of the change
see commit message
To post a comment you must log in.
Good fix.