yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #22276
[Bug 1373153] [NEW] Unit tests for ML2 drivers use incorrect base class
Public bug reported:
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.
** Affects: neutron
Importance: Undecided
Status: New
--
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 OpenStack Neutron (virtual network service):
New
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
Follow ups
References