summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorjortel <devnull@localhost>2008-11-21 19:57:43 +0000
committerjortel <devnull@localhost>2008-11-21 19:57:43 +0000
commit7eafa82ad727a002dabea4035dbd35989ff3503d (patch)
treeb55030051518d60a6ee6765501376ccf4baa1657 /tests
parentb05a16d18a13f6c3a19c01b1bdd1de9175d43f2a (diff)
downloadsuds-7eafa82ad727a002dabea4035dbd35989ff3503d.tar.gz
Draft API-3 as defined @ ( https://fedorahosted.org/suds/wiki/Api3Proposal ), README NEEDS TO BE UPDATED
Diffstat (limited to 'tests')
-rw-r--r--tests/jasper.py8
1 files changed, 6 insertions, 2 deletions
diff --git a/tests/jasper.py b/tests/jasper.py
index a7b17eb..60ea178 100644
--- a/tests/jasper.py
+++ b/tests/jasper.py
@@ -21,9 +21,11 @@ import logging
import traceback as tb
import urllib2
import suds.metrics as metrics
+import traceback as tb
from tests import *
from suds import WebFault
from suds.client import Client
+from suds.transport import HttpTransport
errors = 0
@@ -47,10 +49,11 @@ def start(url):
try:
url = 'http://localhost:9090/jasperserver-pro/services/repository?wsdl'
start(url)
- client = Client(url, opener=opener())
+ t = HttpTransport()
+ t.urlopener = opener()
+ client = Client(url, transport=t)
print client
print client.service.list('')
-
except WebFault, f:
errors += 1
print f
@@ -58,5 +61,6 @@ except WebFault, f:
except Exception, e:
errors += 1
print e
+ tb.print_exc()
print '\nFinished: errors = %d' % errors