diff options
| author | Nikola Dipanov <ndipanov@redhat.com> | 2012-10-10 13:47:26 +0200 |
|---|---|---|
| committer | Nikola Dipanov <ndipanov@redhat.com> | 2012-10-10 15:01:37 +0200 |
| commit | c1e5e3352a71cc61ba9e7dba0d9048d8b766e2c0 (patch) | |
| tree | f61f5321c88c0ec83495ed93e81258bafdef5ddc /nova/openstack | |
| parent | 76596a79a3d39c9daa2e48a52298b17f06a653fc (diff) | |
| download | nova-c1e5e3352a71cc61ba9e7dba0d9048d8b766e2c0.tar.gz nova-c1e5e3352a71cc61ba9e7dba0d9048d8b766e2c0.tar.xz nova-c1e5e3352a71cc61ba9e7dba0d9048d8b766e2c0.zip | |
Fixes test_libvirtr spawn_with_network_info test
This patch fixes the LibvirtConnTestCase.test_spawn_with_network_info
test case that was reported as bug 1053572.
The new implementation of the test makes no assumptions about the raised
exceptions, and exercises the LibvirtDriver.spawn method completely.
The test has the network_info faked and the libvirt connection mocked out.
In addition. it also fixes the fake_network.FakeVIFDriver class used in
this test to return a LibvirtConfigGuestInterface instance with fake
values instead of just a dict. Also fixes some docstring inaccuracies
in the nova.libvirt.vif module that may have lead to the FakeVIFDrivers
wrong implementation before.
Fixes bug 1053572
Change-Id: Ie5b69a2269ab099267231329eae21bd308fef835
Diffstat (limited to 'nova/openstack')
0 files changed, 0 insertions, 0 deletions
