diff options
author | Jenkins <jenkins@review.openstack.org> | 2017-06-30 11:52:44 +0000 |
---|---|---|
committer | Gerrit Code Review <review@openstack.org> | 2017-06-30 11:52:44 +0000 |
commit | 60a123065966560b7592b14ecdee76bd1593b2fa (patch) | |
tree | 8db4e57ff831ab73d7d881118399bcfb66ea3c39 | |
parent | 2513b86893694fc189836cc7c36c5c2ce7c3022e (diff) | |
parent | f4376220d380ef9e4eb7cf6d7872d519d3b71c78 (diff) | |
download | python-neutronclient-60a123065966560b7592b14ecdee76bd1593b2fa.tar.gz |
Merge "Call mock.patch.stopall in OSC unit tests"
-rw-r--r-- | neutronclient/tests/unit/osc/v2/fakes.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/neutronclient/tests/unit/osc/v2/fakes.py b/neutronclient/tests/unit/osc/v2/fakes.py index db962d2..cc30842 100644 --- a/neutronclient/tests/unit/osc/v2/fakes.py +++ b/neutronclient/tests/unit/osc/v2/fakes.py @@ -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): |