ML2/vxlan/test: remove unnecessary self.addCleanup(cfg.CONF.reset)
This patch is follow up of change set of
4808f91eb2
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
This commit is contained in:
parent
c009212cb6
commit
675c3e1104
@ -212,7 +212,6 @@ class VxlanTypeMultiRangeTest(base.BaseTestCase):
|
|||||||
self.driver.vxlan_vni_ranges = self.TUNNEL_MULTI_RANGES
|
self.driver.vxlan_vni_ranges = self.TUNNEL_MULTI_RANGES
|
||||||
self.driver._sync_vxlan_allocations()
|
self.driver._sync_vxlan_allocations()
|
||||||
self.session = db.get_session()
|
self.session = db.get_session()
|
||||||
self.addCleanup(cfg.CONF.reset)
|
|
||||||
self.addCleanup(db.clear_db)
|
self.addCleanup(db.clear_db)
|
||||||
|
|
||||||
def test_release_segment(self):
|
def test_release_segment(self):
|
||||||
|
Loading…
Reference in New Issue
Block a user