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

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

* test_spawn_without_image_meta
* test_spawn_with_pci_devices
* _test_create_image_plain
* test_create_ephemeral_with_arbitrary
* test_create_ephemeral_with_ext3
* test_conn_event_handler
* test_command_with_broken_connection
* test_service_resume_after_broken_connection
* test_immediate_delete
* test_reboot_different_ids
* test_destroy_timed_out
* test_private_destroy_not_found
* test_undefine_domain_with_not_found_instance
* test_cpu_info
* test_get_pcidev_info

Subsequent patches will replace mox in other test cases.

Change-Id: Id4055e51f397a6c900ae42a18d067ae584aaef23
Implements: blueprint mox-removal

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