Increase code coverage for Libvirt module
Bug #809131 reported by
Rohit Karajgi
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Wishlist
|
Soren Hansen |
Bug Description
Libvirt is a critical component of Nova and has undergone many revisions. There is a need to increase statement and branch coverage of it's classes as per the requirements of diablo testing blueprint.
https:/
Add more tests for connection.py in nova.virt.libvirt.
Related branches
lp:~rohitk/nova/libvirt_unittests
On hold
for merging
into
lp:~hudson-openstack/nova/trunk
- Brian Lamar (community): Needs Fixing
- Matt Dietz (community): Approve
- William Wolf (community): Approve
- Jay Pipes (community): Approve
-
Diff: 2005 lines (+1769/-59)3 files modifiedAuthors (+1/-0)
nova/tests/fake_network.py (+3/-0)
nova/tests/test_libvirt.py (+1765/-59)
lp:~soren/nova/virt-test-improvements
Rejected
for merging
into
lp:~hudson-openstack/nova/trunk
- Rick Harris (community): Needs Fixing
-
Diff: 2428 lines (+1976/-107)10 files modifiednova/image/fake.py (+9/-1)
nova/image/service.py (+200/-0)
nova/tests/fake_libvirt_utils.py (+94/-0)
nova/tests/fakelibvirt.py (+773/-0)
nova/tests/test_fakelibvirt.py (+391/-0)
nova/tests/test_image.py (+11/-0)
nova/tests/test_libvirt.py (+184/-2)
nova/tests/test_virt_drivers.py (+41/-4)
nova/virt/libvirt/connection.py (+44/-100)
nova/virt/libvirt/utils.py (+229/-0)
Changed in nova: | |
assignee: | nobody → Rohit Karajgi (rohitkarajgi) |
status: | New → Confirmed |
Changed in nova: | |
status: | Confirmed → In Progress |
description: | updated |
Changed in nova: | |
importance: | Undecided → Wishlist |
tags: | added: unittests |
To post a comment you must log in.
I hadn't noticed this bug and the corresponding branch. :(
I'm working on something quite similar at lp:~soren/nova/virt-test-improvements/