Unit test not using neutron-lib constants

Bug #1591878 reported by Gary Kotton
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
Fix Released
Medium
Brian Haley

Bug Description

{0} neutron.tests.unit.tests.common.test_net_helpers.PortAllocationTestCase.test_get_free_namespace_port [0.816689s] ... ok

Captured stderr:
~~~~~~~~~~~~~~~~
    neutron/tests/unit/tests/common/test_net_helpers.py:64: DeprecationWarning: PROTO_NAME_TCP in version 'mitaka' and will be removed in version 'newton': moved to neutron_lib.constants
      n_const.PROTO_NAME_TCP)

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

Changed in neutron:
assignee: nobody → Gary Kotton (garyk)
status: New → In Progress
Changed in neutron:
assignee: Gary Kotton (garyk) → Brian Haley (brian-haley)
Changed in neutron:
importance: Undecided → Medium
tags: added: low-hanging-fruit
summary: - Unit test not using neutrob-lib constants
+ Unit test not using neutron-lib constants
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron (master)

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

commit da9fdf3b20171fd1e06397ad928e2ee5349b9909
Author: Gary Kotton <email address hidden>
Date: Sun Jun 12 23:38:55 2016 -0700

    Use neutron-lib constants

    One of the unit tests did not make use of the neutron-lib contants.

    TrivialFix
    Closes-bug: #1591878

    Change-Id: Id25b3b2091b57361692a65f53fea9167752e7572

Changed in neutron:
status: In Progress → Fix Released
Revision history for this message
Doug Hellmann (doug-hellmann) wrote : Fix included in openstack/neutron 9.0.0.0b2

This issue was fixed in the openstack/neutron 9.0.0.0b2 development milestone.

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.