diff options
| author | Jenkins <jenkins@review.openstack.org> | 2013-05-22 23:36:24 +0000 |
|---|---|---|
| committer | Gerrit Code Review <review@openstack.org> | 2013-05-22 23:36:24 +0000 |
| commit | a1a21bd7fd09f31789ac773f37004ba42895894b (patch) | |
| tree | 057ab35a0bca39a7a18fe3afc08742a649a125da /tests | |
| parent | 399e422ef83de36c6554e48500c47079f374c3a8 (diff) | |
| parent | 10e247319989da9a70e1a4f37a82dcbd13877365 (diff) | |
| download | python-ceilometerclient-a1a21bd7fd09f31789ac773f37004ba42895894b.tar.gz | |
Merge "Fix pep H306 (import order)"
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/test_shell.py | 4 | ||||
| -rw-r--r-- | tests/utils.py | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/tests/test_shell.py b/tests/test_shell.py index 1448403..75b6a11 100644 --- a/tests/test_shell.py +++ b/tests/test_shell.py @@ -13,8 +13,8 @@ except ImportError: from keystoneclient.v2_0 import client as ksclient from ceilometerclient import exc +from ceilometerclient import shell as ceilometer_shell from ceilometerclient.v1 import client as v1client -import ceilometerclient.shell from tests import utils FAKE_ENV = {'OS_USERNAME': 'username', @@ -41,7 +41,7 @@ class ShellTest(utils.BaseTestCase): orig = sys.stdout try: sys.stdout = cStringIO.StringIO() - _shell = ceilometerclient.shell.CeilometerShell() + _shell = ceilometer_shell.CeilometerShell() _shell.main(argstr.split()) except SystemExit: exc_type, exc_value, exc_traceback = sys.exc_info() diff --git a/tests/utils.py b/tests/utils.py index f0026e2..d9de675 100644 --- a/tests/utils.py +++ b/tests/utils.py @@ -15,8 +15,8 @@ import copy import fixtures -import StringIO import mox +import StringIO import testtools from ceilometerclient.common import http |
