Merge "Call mock.patch.stopall in OSC unit tests"

This commit is contained in:
Jenkins
2017-06-30 11:52:44 +00:00
committed by Gerrit Code Review

View File

@@ -26,6 +26,7 @@ class TestNeutronClientOSCV2(utils.TestCommand):
self.app.client_manager.session = mock.Mock()
self.app.client_manager.neutronclient = mock.Mock()
self.neutronclient = self.app.client_manager.neutronclient
self.addCleanup(mock.patch.stopall)
# TODO(amotoki): Move this to osc_lib
def assertListItemEqual(self, expected, actual):