yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #43293
[Bug 1373153] Re: Unit tests for ML2 drivers use incorrect base class
https://review.openstack.org/125894 + plugin split fix the bug
** Changed in: neutron
Status: In Progress => 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/1373153
Title:
Unit tests for ML2 drivers use incorrect base class
Status in neutron:
Fix Released
Bug description:
In unit tests for several ML2 mechanism drivers (listed below) the
NeutronDbPluginV2TestCase class instead of Ml2PluginV2TestCase which
is derived from that class is used:
Unit tests for ML2 mechanism drivers in neutron/tests/unit/ml2:
drivers/cisco/nexus/test_cisco_mech.py
drivers/brocade/test_brocade_mechanism_driver.py
test_mechanism_fslsdn.py
test_mechanism_ncs.py
test_mechanism_odl.py
In other cases, such as tests in drivers/test_bigswitch_mech.py some
unit tests from the corresponding monolithic driver is reused and
therefor Ml2PluginV2TestCase class is not used.
This prevents specialization needed for testing ML2 specific
implementations.
To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1373153/+subscriptions
References