Remove mox in libvirt/test_driver.py (6)
Remove mox in libvirt/test_driver.py (6)

Replace mox with mock or stub_out in the following methods of
the LibvirtDriverTestCase
in nova/tests/unit/virt/libvirt/test_driver.py.

* _test_migrate_disk_and_power_off_resize_check
* test_migrate_disk_and_power_off_lvm
* test_migrate_disk_and_power_off_resize_cannot_ssh
* test_wait_for_running
* _test_finish_revert_migration
* test_cleanup_failed_migration
* test_confirm_migration
* test_get_instance_disk_info_exception
* _test_attach_interface
* test_detach_interface_device_with_same_mac_address

Subsequent patches will replace mox in other test cases.

Change-Id: I0cd5fc54d981acbf6a63ae74e272f83f24246c70
Implements: blueprint mox-removal-stein

mikalstill/nova,klmitch/nova,klmitch/nova,openstack/nova,klmitch/nova,rahulunair/nova,openstack/nova,rahulunair/nova,mahak/nova,mikalstill/nova,gooddata/openstack-nova,gooddata/openstack-nova,klmitch/nova,mahak/nova,rahulunair/nova,gooddata/openstack-nova,gooddata/openstack-nova,mikalstill/nova,mahak/nova,openstack/nova