ml2/type_gre: Adds missing clear_db to test_type_gre.py
GreTypeTest.setUp() in test_type_gre.py should have self.addCleanup(db.clear_db). This patch adds it. Change-Id: I1f2ac5d2cae47812591fc5b50099053a4ad9ba85 Closes-Bug: #1261593
This commit is contained in:
parent
c1dd189553
commit
e5939c3210
|
@ -40,6 +40,7 @@ class GreTypeTest(base.BaseTestCase):
|
|||
self.driver.gre_id_ranges = TUNNEL_RANGES
|
||||
self.driver._sync_gre_allocations()
|
||||
self.session = db.get_session()
|
||||
self.addCleanup(db.clear_db)
|
||||
|
||||
def test_validate_provider_segment(self):
|
||||
segment = {api.NETWORK_TYPE: 'gre',
|
||||
|
|
Loading…
Reference in New Issue