summaryrefslogtreecommitdiff
path: root/tests/test_64_artifact.py
diff options
context:
space:
mode:
authorClint Byrum <clint@fewbar.com>2015-05-15 10:52:33 -0700
committerClint Byrum <clint@fewbar.com>2015-05-15 11:52:15 -0700
commit99911f6c4c7d51071f70709e55fabcd2e6853284 (patch)
tree9ae82d0d6c11e05bd9bd152c94993d21f744b252 /tests/test_64_artifact.py
parent4ef44631df5426e0b4808b1c79b51a37eb026a76 (diff)
downloadpysaml2-99911f6c4c7d51071f70709e55fabcd2e6853284.tar.gz
Fix python3 syntax errors
Retains python2.7 compatibility for all files. Fixes only syntax errors, tests still fail on python3 for various reasons.
Diffstat (limited to 'tests/test_64_artifact.py')
-rw-r--r--tests/test_64_artifact.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/test_64_artifact.py b/tests/test_64_artifact.py
index bb5014ed..1665e220 100644
--- a/tests/test_64_artifact.py
+++ b/tests/test_64_artifact.py
@@ -85,7 +85,7 @@ def test_create_artifact_resolve():
msg_id, msg = idp.create_artifact_resolve(b64art, destination, sid())
- print msg
+ print(msg)
args = idp.use_soap(msg, destination, None, False)
@@ -93,7 +93,7 @@ def test_create_artifact_resolve():
ar = sp.parse_artifact_resolve(args["data"])
- print ar
+ print(ar)
assert ar.artifact.text == b64art
@@ -177,7 +177,7 @@ def test_artifact_flow():
authn=AUTHN,
**resp_args)
- print response
+ print(response)
# with the response in hand create an artifact
@@ -201,7 +201,7 @@ def test_artifact_flow():
# Got an artifact want to replace it with the real message
msg_id, msg = sp.create_artifact_resolve(artifact3, destination, sid())
- print msg
+ print(msg)
hinfo = sp.use_soap(msg, destination, None, False)
@@ -211,7 +211,7 @@ def test_artifact_flow():
ar = idp.parse_artifact_resolve(msg)
- print ar
+ print(ar)
assert ar.artifact.text == artifact3