From 3580611a8c6cb4712a797f9dba68918ea27af555 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jurko=20Gospodneti=C4=87?= Date: Tue, 1 Jul 2014 23:51:49 +0200 Subject: [PATCH] tidy up test WSDL (stylistic) - indented some of the content to make it more readable - removed an unnecessary attributeFormDefault attribute --- tests/testutils/__init__.py | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/tests/testutils/__init__.py b/tests/testutils/__init__.py index c716ab1..0062a90 100644 --- a/tests/testutils/__init__.py +++ b/tests/testutils/__init__.py @@ -159,15 +159,14 @@ def wsdl(schema_content, input=None, output=None, operation_name="f", wsdl = ["""\ + xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" + xmlns:my_wsdl="%(wsdl_target_namespace)s" + xmlns:my_xsd="%(xsd_target_namespace)s" + xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"> + elementFormDefault="qualified" + xmlns:xsd="http://www.w3.org/2001/XMLSchema"> %(schema_content)s """ % dict(schema_content=schema_content, @@ -212,7 +211,7 @@ xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"> + transport="http://schemas.xmlsoap.org/soap/http" /> """ % (operation_name,))