summaryrefslogtreecommitdiff
path: root/openstackclient/tests/fakes.py
diff options
context:
space:
mode:
authorDean Troyer <dtroyer@gmail.com>2013-08-20 15:13:41 -0500
committerDean Troyer <dtroyer@gmail.com>2013-08-28 22:16:34 -0500
commit725e2543efef8913ec9e69769eb45d5bc3d56aad (patch)
tree1f8c526a2306356eca8784b4f4add395f189257b /openstackclient/tests/fakes.py
parent17f13f7bf4cea80e8e1380fbc8295318de5be383 (diff)
downloadpython-openstackclient-725e2543efef8913ec9e69769eb45d5bc3d56aad.tar.gz
Object API commands using our REST API layer
* Add object-store API to ClientManager * Add object-store client * Add Object API library in openstackclient.object.v1.lib * Add Object API {container,object} list commands * Add library tests * Add command tests This should complete the Object v1 container and object list commands Change-Id: Ib1770d45efa8871959826b85faafa1e0bcef0a03
Diffstat (limited to 'openstackclient/tests/fakes.py')
-rw-r--r--openstackclient/tests/fakes.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/openstackclient/tests/fakes.py b/openstackclient/tests/fakes.py
index d0cd4a9f..e0122022 100644
--- a/openstackclient/tests/fakes.py
+++ b/openstackclient/tests/fakes.py
@@ -44,6 +44,11 @@ class FakeClientManager(object):
pass
+class FakeRESTApi(object):
+ def __init__(self):
+ pass
+
+
class FakeResource(object):
def __init__(self, manager, info, loaded=False):
self.manager = manager