diff options
author | Clint Byrum <clint@fewbar.com> | 2015-05-15 10:52:33 -0700 |
---|---|---|
committer | Clint Byrum <clint@fewbar.com> | 2015-05-15 11:52:15 -0700 |
commit | 99911f6c4c7d51071f70709e55fabcd2e6853284 (patch) | |
tree | 9ae82d0d6c11e05bd9bd152c94993d21f744b252 /tests/test_33_identifier.py | |
parent | 4ef44631df5426e0b4808b1c79b51a37eb026a76 (diff) | |
download | pysaml2-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_33_identifier.py')
-rw-r--r-- | tests/test_33_identifier.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/test_33_identifier.py b/tests/test_33_identifier.py index 6db5a41d..97168b39 100644 --- a/tests/test_33_identifier.py +++ b/tests/test_33_identifier.py @@ -114,12 +114,12 @@ class TestIdentifier(): }) name_id_policy = samlp.name_id_policy_from_string(NAME_ID_POLICY_1) - print name_id_policy + print(name_id_policy) nameid = self.id.construct_nameid("foobar", policy, 'http://vo.example.org/biomed', name_id_policy) - print nameid + print(nameid) assert _eq(nameid.keyswv(), ['text', 'sp_name_qualifier', 'format', 'name_qualifier']) assert nameid.sp_name_qualifier == 'http://vo.example.org/biomed' @@ -155,7 +155,7 @@ class TestIdentifier(): sp_id = "urn:mace:umu.se:sp" nameid = self.id.persistent_nameid("abcd0001", sp_id) remote_id = nameid.text.strip() - print remote_id + print(remote_id) local = self.id.find_local_id(nameid) assert local == "abcd0001" @@ -167,7 +167,7 @@ class TestIdentifier(): sp_id = "urn:mace:umu.se:sp" nameid = self.id.transient_nameid("abcd0001", sp_id) remote_id = nameid.text.strip() - print remote_id + print(remote_id) local = self.id.find_local_id(nameid) assert local == "abcd0001" |