diff options
author | Jenkins <jenkins@review.openstack.org> | 2015-02-04 13:32:12 +0000 |
---|---|---|
committer | Gerrit Code Review <review@openstack.org> | 2015-02-04 13:32:12 +0000 |
commit | c70c26d05c95778420bc0032d5653e06e941d79c (patch) | |
tree | 4c655dda824003ce41af8af365b8210a473384e4 | |
parent | 81cb1ccefdb9d4c4b246a1896ea1abeec063a7cf (diff) | |
parent | d817a030e21cc5ac2d25d13676c2f07be058681c (diff) | |
download | tempest-lib-c70c26d05c95778420bc0032d5653e06e941d79c.tar.gz |
Merge "Move api_version to a class value"0.2.0
-rw-r--r-- | tempest_lib/common/rest_client.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tempest_lib/common/rest_client.py b/tempest_lib/common/rest_client.py index aa003bd..99dbbce 100644 --- a/tempest_lib/common/rest_client.py +++ b/tempest_lib/common/rest_client.py @@ -39,6 +39,9 @@ class RestClient(object): TYPE = "json" + # The version of the API this client implements + api_version = None + LOG = logging.getLogger(__name__) def __init__(self, auth_provider, service, region, @@ -54,8 +57,6 @@ class RestClient(object): self.build_timeout = build_timeout self.trace_requests = trace_requests - # The version of the API this client implements - self.api_version = None self._skip_path = False self.general_header_lc = set(('cache-control', 'connection', 'date', 'pragma', 'trailer', |