summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSanu Madhavan <sanuptpm@gmail.com>2017-01-20 15:36:35 +0530
committerSanu Madhavan <sanuptpm@gmail.com>2017-01-20 15:38:05 +0530
commit9f84e4c7c59b172a09341af2ab496d07e29e01aa (patch)
tree7a1fb4862f64d38e9c438203979f2bb745bc1239
parent7e96104e7bb08827967275eda26723a473b1ce6c (diff)
downloadwsme-9f84e4c7c59b172a09341af2ab496d07e29e01aa.tar.gz
Remove white space between print ()0.9.2
There was a white space between print and () Change-Id: I6793e52c441728e991fe61afb73227e16368d758
-rw-r--r--wsme/tests/test_restxml.py10
-rw-r--r--wsmeext/tests/test_extdirect.py2
2 files changed, 6 insertions, 6 deletions
diff --git a/wsme/tests/test_restxml.py b/wsme/tests/test_restxml.py
index aab312b..6f1b090 100644
--- a/wsme/tests/test_restxml.py
+++ b/wsme/tests/test_restxml.py
@@ -57,7 +57,7 @@ def dumpxml(key, obj, datatype=None):
def loadxml(el, datatype):
- print (el, datatype, len(el))
+ print(el, datatype, len(el))
if el.get('nil') == 'true':
return None
if isinstance(datatype, list):
@@ -90,10 +90,10 @@ def loadxml(el, datatype):
for attr in datatype._wsme_attributes:
name = attr.name
child = el.find(name)
- print (name, attr, child)
+ print(name, attr, child)
if child is not None:
d[name] = loadxml(child, attr.datatype)
- print (d)
+ print(d)
return d
else:
if datatype == wsme.types.binary:
@@ -137,7 +137,7 @@ class TestRestXML(wsme.tests.protocol.RestOnlyProtocolTestCase):
content,
headers=headers,
expect_errors=True)
- print ("Received:", res.body)
+ print("Received:", res.body)
if _no_result_decode:
return res
@@ -167,7 +167,7 @@ class TestRestXML(wsme.tests.protocol.RestOnlyProtocolTestCase):
language, sample = wsme.rest.xml.encode_sample_value(
MyType, value, True)
- print (language, sample)
+ print(language, sample)
assert language == 'xml'
assert sample == b("""<value>
diff --git a/wsmeext/tests/test_extdirect.py b/wsmeext/tests/test_extdirect.py
index eb52dec..54e8653 100644
--- a/wsmeext/tests/test_extdirect.py
+++ b/wsmeext/tests/test_extdirect.py
@@ -224,7 +224,7 @@ class TestExtDirectProtocol(wsme.tests.protocol.ProtocolTestCase):
body,
headers={'Content-Type': 'application/x-www-form-urlencoded'}
)
- print (r)
+ print(r)
assert json.loads(r.text) == {
"tid": "1",