Add clear_db to cleanup for TestCiscoNexusPlugin

Fixes Bug: #1234012
Change-Id: I0829f04ac1a0760d96babcb1154f4f569a0f848f
(cherry picked from commit b4167ed095)
This commit is contained in:
Sean McCully 2013-10-02 02:36:05 -05:00 committed by Mark McClain
parent 27f5da9552
commit b4c2db5ea0
1 changed files with 1 additions and 0 deletions

View File

@ -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',