diff options
| author | Cindy Pallares <cindy.pallaresq@gmail.com> | 2015-05-19 19:59:06 -0500 |
|---|---|---|
| committer | Cindy Pallares <cindy.pallaresq@gmail.com> | 2015-06-17 10:56:37 -0500 |
| commit | 997c12d3abfd9a571a4e8f0b022dfb1d27c62edb (patch) | |
| tree | 5ab2346452416876492d076c33dbb1c29db9edc9 /glanceclient/tests/utils.py | |
| parent | 71d852836474f59f10a7bb9883f6dcecc56e5675 (diff) | |
| download | python-glanceclient-997c12d3abfd9a571a4e8f0b022dfb1d27c62edb.tar.gz | |
Import only modules and update tox.ini
As stated in the OpenStack Hacking Guidelines, it is prefered
that only modules should be imported.
Also updated tox.ini to ignore opestack/common among others.
Change-Id: I2f0a603c31052eadee581c11880c0ec6bd392829
Diffstat (limited to 'glanceclient/tests/utils.py')
| -rw-r--r-- | glanceclient/tests/utils.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/glanceclient/tests/utils.py b/glanceclient/tests/utils.py index a47dcb3..f7f3452 100644 --- a/glanceclient/tests/utils.py +++ b/glanceclient/tests/utils.py @@ -19,7 +19,7 @@ import six import six.moves.urllib.parse as urlparse import testtools -from glanceclient.v2.schemas import Schema +from glanceclient.v2 import schemas class FakeAPI(object): @@ -68,7 +68,7 @@ class FakeAPI(object): class FakeSchemaAPI(FakeAPI): def get(self, *args, **kwargs): _, raw_schema = self._request('GET', *args, **kwargs) - return Schema(raw_schema) + return schemas.Schema(raw_schema) class RawRequest(object): |
