summaryrefslogtreecommitdiff
path: root/ceilometerclient/tests/unit/test_shell.py
diff options
context:
space:
mode:
Diffstat (limited to 'ceilometerclient/tests/unit/test_shell.py')
-rw-r--r--ceilometerclient/tests/unit/test_shell.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/ceilometerclient/tests/unit/test_shell.py b/ceilometerclient/tests/unit/test_shell.py
index d9bbcff..6f29023 100644
--- a/ceilometerclient/tests/unit/test_shell.py
+++ b/ceilometerclient/tests/unit/test_shell.py
@@ -19,11 +19,11 @@ import mock
import six
from testtools import matchers
+from ceilometerclient import client
from ceilometerclient import exc
from ceilometerclient.openstack.common.apiclient import client as api_client
from ceilometerclient import shell as ceilometer_shell
from ceilometerclient.tests.unit import utils
-from ceilometerclient.v2 import client as v2client
FAKE_V2_ENV = {'OS_USERNAME': 'username',
'OS_PASSWORD': 'password',
@@ -41,7 +41,7 @@ class ShellTestBase(utils.BaseTestCase):
@mock.patch('sys.stdout', new=six.StringIO())
@mock.patch.object(ks_session, 'Session', mock.MagicMock())
- @mock.patch.object(v2client.client.HTTPClient,
+ @mock.patch.object(client.client.HTTPClient,
'client_request', mock.MagicMock())
def shell(self, argstr):
try: