]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commitdiff
Remove redundant unit tests from OVS DVR Agent
authorGal Sagie <gal.sagie@huawei.com>
Thu, 19 Mar 2015 12:30:10 +0000 (14:30 +0200)
committerGal Sagie <gal.sagie@huawei.com>
Thu, 19 Mar 2015 12:30:10 +0000 (14:30 +0200)
The same test exists in test_ovs_neutron_agent.py
test_create_agent_config_map_enable_distributed_routing

Closes-Bug: #1434051

Change-Id: I0ebba4348cbc83dd1d59ff1111c0c21054ba47b3

neutron/tests/unit/openvswitch/test_ovs_dvr_neutron_agent.py

index 80f02c24095664f7b3b40b599f20688676dfbc25..13d252114eb4f5b5c947749db2493e8884b818e0 100644 (file)
@@ -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):