summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorjortel <devnull@localhost>2009-11-19 17:08:09 +0000
committerjortel <devnull@localhost>2009-11-19 17:08:09 +0000
commit09d2bd52599bac33ae93f618051639b86abec017 (patch)
tree5b3d343242933babbfd6a529f5f296961d4b191a /tests
parent622a8f7471351342c38c42d071178388aa7ea4e8 (diff)
downloadsuds-09d2bd52599bac33ae93f618051639b86abec017.tar.gz
Add a (null) class to be used to explicitly pass NULL parameters and NULL for optional elements in the soap message.
Diffstat (limited to 'tests')
-rw-r--r--tests/rhq.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/rhq.py b/tests/rhq.py
index 91fd697..9c87d0b 100644
--- a/tests/rhq.py
+++ b/tests/rhq.py
@@ -26,7 +26,7 @@ import logging
import traceback as tb
import suds.metrics as metrics
from tests import *
-from suds import WebFault
+from suds import null, WebFault
from suds.client import Client
from suds.xsd.sxbasic import Import
from suds.transport.https import HttpAuthenticated
@@ -283,7 +283,7 @@ def basic_rpc_literal():
print 'updatePersion()'
result = client.service.updatePerson(person, newname)
print '\nreply(\n%s\n)\n' % str(result)
- result = client.service.updatePerson(person, None)
+ result = client.service.updatePerson(person, null())
print '\nreply(\n%s\n)\n' % str(result)
except WebFault, f:
errors += 1
@@ -299,7 +299,7 @@ def basic_rpc_literal():
result = client.service.echo('this is cool')
print '\nreply( %s )\n' % str(result)
print 'echo(None)'
- result = client.service.echo(None)
+ result = client.service.echo(null())
print '\nreply( %s )\n' % str(result)
except WebFault, f:
errors += 1