neutron.tests.unit.agent.test_l2population_rpc.TestL2populationRpcCallBackTunnelMixin.test_get_agent_ports_no_data contains dead code

Bug #1365388 reported by Jakub Libosvar
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
Fix Released
Undecided
Jakub Libosvar

Bug Description

neutron.tests.unit.agent.test_l2population_rpc.TestL2populationRpcCallBackTunnelMixin.test_get_agent_ports_no_data contains for loop that gets never executed.

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/119009

Changed in neutron:
assignee: nobody → Jakub Libosvar (libosvar)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron (master)

Reviewed: https://review.openstack.org/119009
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=5e5f74180c264d3bae2be1cf62ae89ab656c2dd7
Submitter: Jenkins
Branch: master

commit 5e5f74180c264d3bae2be1cf62ae89ab656c2dd7
Author: Jakub Libosvar <email address hidden>
Date: Tue Jan 6 23:21:57 2015 +0100

    Fix UT for L2pop test_get_agent_ports_no_data()

    Previously loop in this test has never been executed because returned
    generator was empty. This patch validates that generator is empty.

    Change-Id: I900cd7bccee16487ab5469a2222afd294d9dee25
    Closes-Bug: #1365388

Changed in neutron:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in neutron:
milestone: none → kilo-2
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in neutron:
milestone: kilo-2 → 2015.1.0
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.