Merge "Add clear_db to cleanup for TestCiscoNexusPlugin"

This commit is contained in:
Jenkins 2013-10-04 14:56:25 +00:00 committed by Gerrit Code Review
commit 0a3a353bc2

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