← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1377346] Re: ML2: Invalid unit test case

 

** Changed in: neutron
       Status: Fix Committed => Fix Released

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

Title:
  ML2: Invalid unit test case

Status in OpenStack Neutron (virtual network service):
  Fix Released

Bug description:
  In test_create_network_multiprovider() , an invalid comparison is used
  ...

  tz = network['network'][mpnet.SEGMENTS]
  for tz in data['network'][mpnet.SEGMENTS]:  <=== tz from previous statement is lost
     for field in [pnet.NETWORK_TYPE, pnet.PHYSICAL_NETWORK, 
                           pnet.SEGMENTATION_ID]:
          self.assertEqual(tz.get(field), tz.get(field))  <===== this is always true

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


References