Skip to content

Commit

Permalink
disable test_echo_complex_bare in suds interop tests because suds cre…
Browse files Browse the repository at this point in the history
…ates an invalid request here.
  • Loading branch information
plq committed Oct 28, 2012
1 parent 3e80fe9 commit e79180e
Showing 1 changed file with 28 additions and 1 deletion.
29 changes: 28 additions & 1 deletion spyne/test/interop/test_suds.py
Expand Up @@ -363,7 +363,34 @@ def test_echo_simple_bare(self):

assert ret == 'test'

def test_echo_complex_bare(self):
#
# This test is disabled because suds does not create the right request
# object. The first <ns0:string> tag below is wrong.
#
#<SOAP-ENV:Envelope xmlns:ns0="spyne.test.interop.server"
# xmlns:xs="http://www.w3.org/2001/XMLSchema"
# xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
# xmlns:ns1="http://schemas.xmlsoap.org/soap/envelope/"
# xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
# <SOAP-ENV:Header/>
# <ns1:Body>
# <ns0:echo_complex_bare>
# <ns0:string>
# <ns0:string>abc</ns0:string>
# <ns0:string>def</ns0:string>
# </ns0:string>
# </ns0:echo_complex_bare>
# </ns1:Body>
#</SOAP-ENV:Envelope>
#
# The right request looks like this:
#
# <ns0:echo_complex_bare>
# <ns0:string>abc</ns0:string>
# <ns0:string>def</ns0:string>
# </ns0:echo_complex_bare>
#
def _test_echo_complex_bare(self):
val = ['abc','def']
ia = self.client.factory.create('stringArray')
ia.string.extend(val)
Expand Down

0 comments on commit e79180e

Please sign in to comment.