diff options
| author | Dean Troyer <dtroyer@gmail.com> | 2013-08-13 17:14:42 -0500 |
|---|---|---|
| committer | Dean Troyer <dtroyer@gmail.com> | 2013-08-23 12:08:32 -0500 |
| commit | 17f13f7bf4cea80e8e1380fbc8295318de5be383 (patch) | |
| tree | 611a7a512eae39341911db529b36035d737730e2 /openstackclient/tests/common/__init__.py | |
| parent | b440986e6e0e90c220fe3e52f893bc5dd51cae5a (diff) | |
| download | python-openstackclient-17f13f7bf4cea80e8e1380fbc8295318de5be383.tar.gz | |
Create a new base REST API interface
* restapi module provides basic REST API support
* uses dicts rather than Resource classes
* JSON serialization/deserialization
* log requests in 'curl' format
* basic API boilerplate for create/delete/list/set/show verbs
* ignore H302 due to urllib import
Change-Id: I3cb91e44e631ee19e9f5dea19b6bac5d599d19ce
Diffstat (limited to 'openstackclient/tests/common/__init__.py')
| -rw-r--r-- | openstackclient/tests/common/__init__.py | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/openstackclient/tests/common/__init__.py b/openstackclient/tests/common/__init__.py new file mode 100644 index 00000000..c534c012 --- /dev/null +++ b/openstackclient/tests/common/__init__.py @@ -0,0 +1,14 @@ +# Copyright 2013 OpenStack Foundation +# +# Licensed under the Apache License, Version 2.0 (the "License"); you may +# not use this file except in compliance with the License. You may obtain +# a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the +# License for the specific language governing permissions and limitations +# under the License. +# |
