Merge ~raharper/cloud-init:fix-unittest-assert-called into cloud-init:master
Proposed by
Ryan Harper
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 | Pending | ||
Review via email: mp+307583@code.launchpad.net |
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.
I added a tox environment to make sure this isnt busted in the future.