]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commitdiff
ML2/vxlan/test: remove unnecessary self.addCleanup(cfg.CONF.reset)
authorIsaku Yamahata <isaku.yamahata@intel.com>
Fri, 20 Dec 2013 03:50:17 +0000 (12:50 +0900)
committerIsaku Yamahata <isaku.yamahata@intel.com>
Fri, 21 Feb 2014 11:46:43 +0000 (20:46 +0900)
This patch is follow up of change set of
4808f91eb2c245344517fc89c37c6c4c88e9051b bug/1260262 review/61694.
The change set adds unnecessary self.addCleanup(cfg.CONF.reset) to
VxlanTypeMultiRangeTest as pointed out. This patch Remove the line.

Change-Id: Ia6ce4bc346cf6320ba556e80689dadb7d84e5ee8

neutron/tests/unit/ml2/test_type_vxlan.py

index e4cd829b3d56339f6feadbf31df0ba9f2d1580d0..cb518f7eb3253d58714a1d89f9805d539956f227 100644 (file)
@@ -212,7 +212,6 @@ class VxlanTypeMultiRangeTest(base.BaseTestCase):
         self.driver.vxlan_vni_ranges = self.TUNNEL_MULTI_RANGES
         self.driver._sync_vxlan_allocations()
         self.session = db.get_session()
-        self.addCleanup(cfg.CONF.reset)
         self.addCleanup(db.clear_db)
 
     def test_release_segment(self):