summaryrefslogtreecommitdiffstats
path: root/sca-cpp/trunk/modules/wsgi/http-test.py
diff options
context:
space:
mode:
authorjsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68>2010-10-25 03:18:16 +0000
committerjsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68>2010-10-25 03:18:16 +0000
commita2a2cb76e9582af32b6803be7fa99af074dc04ae (patch)
treed0ef504321e72fe16afd23f385f20386530f5dfc /sca-cpp/trunk/modules/wsgi/http-test.py
parent0dd33c3859618f3a385583d7344230f0e1eb1004 (diff)
Support python method invocation style on references, ref.func(...) in addition to ref('func', ...). Minor cleanup of the various samples, renamed gettotal to total and getcatalog to items, for consistency with the python sample.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1026939 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-cpp/trunk/modules/wsgi/http-test.py')
-rwxr-xr-xsca-cpp/trunk/modules/wsgi/http-test.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sca-cpp/trunk/modules/wsgi/http-test.py b/sca-cpp/trunk/modules/wsgi/http-test.py
index 87a8780fb3..45a1ecd3cc 100755
--- a/sca-cpp/trunk/modules/wsgi/http-test.py
+++ b/sca-cpp/trunk/modules/wsgi/http-test.py
@@ -22,7 +22,7 @@ from httputil import *
def testClient():
c = mkclient("http://localhost:8090/wsgi")
- assert c("echo", "Hey") == "Hey"
+ assert c.echo("Hey") == "Hey"
return True
if __name__ == "__main__":