From: Gal Sagie Date: Thu, 19 Mar 2015 12:30:10 +0000 (+0200) Subject: Remove redundant unit tests from OVS DVR Agent X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=b6c92f6a5f6561812fa5329e1108569700f38f9a;p=openstack-build%2Fneutron-build.git Remove redundant unit tests from OVS DVR Agent The same test exists in test_ovs_neutron_agent.py test_create_agent_config_map_enable_distributed_routing Closes-Bug: #1434051 Change-Id: I0ebba4348cbc83dd1d59ff1111c0c21054ba47b3 --- diff --git a/neutron/tests/unit/openvswitch/test_ovs_dvr_neutron_agent.py b/neutron/tests/unit/openvswitch/test_ovs_dvr_neutron_agent.py index 80f02c240..13d252114 100644 --- a/neutron/tests/unit/openvswitch/test_ovs_dvr_neutron_agent.py +++ b/neutron/tests/unit/openvswitch/test_ovs_dvr_neutron_agent.py @@ -34,17 +34,6 @@ FAKE_IP1 = '10.0.0.1' FAKE_IP2 = '10.0.0.2' -class CreateAgentConfigMapDvr(base.BaseTestCase): - - def test_create_agent_config_map_enable_distributed_routing(self): - self.addCleanup(cfg.CONF.reset) - # Verify setting only enable_tunneling will default tunnel_type to GRE - cfg.CONF.set_override('enable_distributed_routing', True, - group='AGENT') - cfgmap = ovs_neutron_agent.create_agent_config_map(cfg.CONF) - self.assertEqual(cfgmap['enable_distributed_routing'], True) - - class TestOvsDvrNeutronAgent(base.BaseTestCase): def setUp(self):