summaryrefslogtreecommitdiffstats
path: root/sca-cpp/trunk/modules/python/client-test.py
diff options
context:
space:
mode:
authorjsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68>2010-02-17 04:14:31 +0000
committerjsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68>2010-02-17 04:14:31 +0000
commit00438314438f3dde00b532ac5d8d28ccc35c7096 (patch)
tree80dbbb010c5125455a164c77670b8694231f123f /sca-cpp/trunk/modules/python/client-test.py
parent50063bc212e8e93d014519ef0e4d4cabef0b6be2 (diff)
Working queue and chat components. Added a few useful start/stop scripts. Fixed lifecycle code to call start/stop/restart functions before APR pools are cleaned up in both parent and child processes. Minor build script improvements.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@910819 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-cpp/trunk/modules/python/client-test.py')
-rw-r--r--sca-cpp/trunk/modules/python/client-test.py12
1 files changed, 4 insertions, 8 deletions
diff --git a/sca-cpp/trunk/modules/python/client-test.py b/sca-cpp/trunk/modules/python/client-test.py
index 6e3723302a..47e6cf4bda 100644
--- a/sca-cpp/trunk/modules/python/client-test.py
+++ b/sca-cpp/trunk/modules/python/client-test.py
@@ -22,18 +22,14 @@ def echo(x, ref):
# ATOMPub test case
-def getall(ref):
- return ref("getall")
-
def get(id, ref):
return ref("get", id)
-def post(entry, ref):
- return ref("post", entry)
+def post(collection, item, ref):
+ return ref("post", collection, item)
-def put(id, entry, ref):
- return ref("put", id, entry)
+def put(id, item, ref):
+ return ref("put", id, item)
def delete(id, ref):
return ref("delete", id)
-