← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1482108] [NEW] Boolean kwargs not handled properly in L3 routing tests

 

Public bug reported:

The unit test suite for L3 routing includes a mixin class that provides
a function_create_router(...) to create a Neutron router.

This function takes kwargs to allow arbitrary arguments to be passed in
the create router REST API call. The code contains a test to ensure that
the provided kwarg indeed contains a value. However, the way that test
is written makes it incompatible with Boolean kwargs. As a result, if a
Boolean kwarg is provided it will, incorrectly, be ignored.

** Affects: neutron
     Importance: Undecided
     Assignee: Bob Melander (bob-melander)
         Status: New

** Changed in: neutron
     Assignee: (unassigned) => Bob Melander (bob-melander)

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1482108

Title:
  Boolean kwargs not handled properly in L3 routing tests

Status in neutron:
  New

Bug description:
  The unit test suite for L3 routing includes a mixin class that
  provides a function_create_router(...) to create a Neutron router.

  This function takes kwargs to allow arbitrary arguments to be passed
  in the create router REST API call. The code contains a test to ensure
  that the provided kwarg indeed contains a value. However, the way that
  test is written makes it incompatible with Boolean kwargs. As a
  result, if a Boolean kwarg is provided it will, incorrectly, be
  ignored.

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1482108/+subscriptions


Follow ups