diff options
Diffstat (limited to 'neutronclient/tests/unit/osc/v2/fakes.py')
-rw-r--r-- | neutronclient/tests/unit/osc/v2/fakes.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/neutronclient/tests/unit/osc/v2/fakes.py b/neutronclient/tests/unit/osc/v2/fakes.py index c7876b6..7fec734 100644 --- a/neutronclient/tests/unit/osc/v2/fakes.py +++ b/neutronclient/tests/unit/osc/v2/fakes.py @@ -26,6 +26,10 @@ 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.app.client_manager.network = mock.Mock() + self.networkclient = self.app.client_manager.network + self.addCleanup(mock.patch.stopall) # TODO(amotoki): Move this to osc_lib |