Merge ~raharper/cloud-init:fix-unittest-assert-called into cloud-init:master
Proposed by
Ryan Harper
on 2016-10-04
| Status: | Merged |
|---|---|
| Merge reported by: | Scott Moser |
| Merged at revision: | not available |
| Proposed branch: | ~raharper/cloud-init:fix-unittest-assert-called |
| Merge into: | cloud-init:master |
| Diff against target: |
31 lines (+3/-3) 1 file modified
tests/unittests/test_datasource/test_digitalocean.py (+3/-3) |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| cloud-init commiters | 2016-10-04 | Pending | |
|
Review via email:
|
|||
Commit Message
unittests: fix use of mock 2.0 'assert_called' when running make check
Some of the new DigitalOcean unittests were written to use
'assert_called', which is only available in mock versions 2.0.
Because of this, the failure would only occur in releases less
than yakkety and not in 'tox'.
Description of the Change
unittests: fix use of mock 2.0 'assert_called' when running make check
Some of the new DigitalOcean unittests were written to use
'assert_called', which is only available in mock versions 2.0.
Because of this, the failure would only occur in releases less
than yakkety and not in 'tox'.
To post a comment you must log in.
| Scott Moser (smoser) wrote : | # |


I added a tox environment to make sure this isnt busted in the future.