I've pushed up an example of what replacing mocker with mock might look like, check the diff out at http://bazaar.launchpad.net/~daniel-thewatkins/cloud-init/replace-mocker/revision/1013?start_revid=1013 or the full file at http://bazaar.launchpad.net/~daniel-thewatkins/cloud-init/replace-mocker/view/head:/tests/unittests/test_distros/test_netconfig.py
This is only a POC as (amongst other things) I haven't updated requirements to include mock.
I've pushed up an example of what replacing mocker with mock might look like, check the diff out at http:// bazaar. launchpad. net/~daniel- thewatkins/ cloud-init/ replace- mocker/ revision/ 1013?start_ revid=1013 or the full file at http:// bazaar. launchpad. net/~daniel- thewatkins/ cloud-init/ replace- mocker/ view/head: /tests/ unittests/ test_distros/ test_netconfig. py
This is only a POC as (amongst other things) I haven't updated requirements to include mock.