summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorjortel <devnull@localhost>2008-11-05 20:39:06 +0000
committerjortel <devnull@localhost>2008-11-05 20:39:06 +0000
commit7bfca52f8fba6db41f4f40ba9e0e930cbf1b80d2 (patch)
treeeb5c4c55b693ab29012db6414778c64d52fe587c /tests
parentadb8ff311e203d8b3ec26c81549098f25072d9b5 (diff)
downloadsuds-7bfca52f8fba6db41f4f40ba9e0e930cbf1b80d2.tar.gz
fix ( None ) value problem. Moved checking for ( None ) when translating in marshaller/unmarshaller from Builtin types to marshaller/unmarhshaller. This is where it should have been all along
Diffstat (limited to 'tests')
-rw-r--r--tests/axis2.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/axis2.py b/tests/axis2.py
index e5782a5..737b2a7 100644
--- a/tests/axis2.py
+++ b/tests/axis2.py
@@ -29,7 +29,7 @@ errors = 0
setup_logging()
-#logging.getLogger('suds.client').setLevel(logging.DEBUG)
+logging.getLogger('suds.client').setLevel(logging.DEBUG)
url = 'http://localhost:8080/axis2/services/BasicService?wsdl'
@@ -92,7 +92,7 @@ person = client.factory.create('ns2:Person')
print '{empty} person=\n%s' % person
person.name = name
-person.age = 43
+person.age = None
person.birthday = datetime.now()
person.phone.append(phoneA)
person.phone.append(phoneB)
@@ -131,6 +131,7 @@ print '\nreply(\n%s\n)\n' % str(result)
# invoke the echo service
#
print 'echo()'
+client.service.echo(None)
result = client.service.echo('this is cool')
print '\nreply( %s )\n' % str(result)