Add clear_db to cleanup for TestCiscoNexusPlugin
Fixes Bug: #1234012 Change-Id: I0829f04ac1a0760d96babcb1154f4f569a0f848f
This commit is contained in:
parent
7da3d24f8a
commit
b4167ed095
@ -140,6 +140,7 @@ class TestCiscoNexusPlugin(base.BaseTestCase):
|
||||
}
|
||||
db.configure_db()
|
||||
|
||||
self.addCleanup(db.clear_db)
|
||||
# Use a mock netconf client
|
||||
self.mock_ncclient = mock.Mock()
|
||||
self.patch_obj = mock.patch.dict('sys.modules',
|
||||
|
Loading…
x
Reference in New Issue
Block a user