Improve unit test coverage for Cisco plugin nexus code

Bug #1190622 reported by Henry Gessau
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
Fix Released
Wishlist
Dane LeBlanc

Bug Description

Improve unit test coverage for ...

quantum/plugins/cisco/nexus/cisco_nexus_network_driver_v2 100 24 0 26 1 72%
quantum/plugins/cisco/nexus/cisco_nexus_plugin_v2 117 23 0 12 2 79%

Tags: unittest cisco
Changed in quantum:
importance: Undecided → Wishlist
status: New → Triaged
ZhiQiang Fan (aji-zqfan)
tags: added: unittest
Dane LeBlanc (leblancd)
Changed in neutron:
assignee: nobody → Dane LeBlanc (leblancd)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to neutron (master)

Fix proposed to branch: master
Review: https://review.openstack.org/57100

Changed in neutron:
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

Fix proposed to branch: master
Review: https://review.openstack.org/58380

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron (master)

Reviewed: https://review.openstack.org/57100
Committed: http://github.com/openstack/neutron/commit/26e9fad61f86bedd16179ede9736b56c4a9a5752
Submitter: Jenkins
Branch: master

commit 26e9fad61f86bedd16179ede9736b56c4a9a5752
Author: Dane LeBlanc <email address hidden>
Date: Thu Nov 21 13:13:02 2013 -0500

    Improve unit test coverage for Cisco plugin nexus code

    Closes-Bug: #1190622

    This fix improves the unit test coverage for the Cisco Nexus plugin's
    cisco_nexus_network_driver_v2.py and cisco_nexus_plugin_v2.py
    source files from:
    cisco_nexus_network_driver_v2: 72%
    cisco_nexus_plugin_v2: 79%
    To:
    cisco_nexus_network_driver_v2: 99%
    cisco_nexus_plugin_v2: 94%

    Much of what the remaining "uncovered" code (coverage tool
    reports as partially covered) can be attributed to the
    coverage tool not being aware that execution does not
    continue at the end of a save_and_reraise_exception()
    context block (i.e. the exception will be reraised, but
    the coverage tool isn't aware of this).

    This fix and coverage results are dependent on the fix for #1246080.

    Change-Id: Ie0e11fc0a12502739fb39bb4b30deb04dd31b7b0

Changed in neutron:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in neutron:
milestone: none → icehouse-2
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in neutron:
milestone: icehouse-2 → 2014.1
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.