summaryrefslogtreecommitdiff
path: root/tests/test_50_server.py
diff options
context:
space:
mode:
authorClint Byrum <clint@fewbar.com>2015-05-27 00:11:32 -0700
committerClint Byrum <clint@fewbar.com>2015-05-28 09:50:57 -0700
commitc76eaf78fe8000efa951a3c75ede1a32beb3c9a4 (patch)
tree42e616826e50434a78c8949645255175819d1578 /tests/test_50_server.py
parented5d61787ee45b7eb18631aa0d0eb15af75daf22 (diff)
downloadpysaml2-c76eaf78fe8000efa951a3c75ede1a32beb3c9a4.tar.gz
Fix more renamed modules/functions for py3
In doing so it was discovered that the 'implements' function has been replaced by a class decorator, which must be used in python3. Also commented out method arguments seem to expose internal py.test problems in python3. Removing them seems fine since we can look in revision history if we need to find the exact way it was used before.
Diffstat (limited to 'tests/test_50_server.py')
-rw-r--r--tests/test_50_server.py15
1 files changed, 1 insertions, 14 deletions
diff --git a/tests/test_50_server.py b/tests/test_50_server.py
index 04a56096..072d4528 100644
--- a/tests/test_50_server.py
+++ b/tests/test_50_server.py
@@ -3,7 +3,7 @@
import base64
import os
from contextlib import closing
-from urlparse import parse_qs
+from six.moves.urllib.parse import parse_qs
import uuid
from saml2.cert import OpenSSLWrapper
@@ -540,7 +540,6 @@ class TestServer1():
encrypt_assertion=False,
encrypt_assertion_self_contained=True,
pefim=True,
- #encrypted_advice_attributes=True,
encrypt_cert_advice=cert_str,
)
@@ -680,7 +679,6 @@ class TestServer1():
sign_assertion=True,
encrypt_assertion=True,
encrypt_assertion_self_contained=True,
- #encrypted_advice_attributes=True,
pefim=True,
encrypt_cert_advice=cert_str,
)
@@ -741,7 +739,6 @@ class TestServer1():
sign_assertion=False,
encrypt_assertion=False,
encrypt_assertion_self_contained=True,
- #encrypted_advice_attributes=True,
pefim=True,
encrypt_cert_advice=cert_str_advice,
)
@@ -774,7 +771,6 @@ class TestServer1():
sign_assertion=False,
encrypt_assertion=True,
encrypt_assertion_self_contained=True,
- #encrypted_advice_attributes=True,
pefim=True,
encrypt_cert_advice=cert_str_advice,
)
@@ -867,7 +863,6 @@ class TestServer1():
sign_assertion=False,
encrypt_assertion=False,
encrypt_assertion_self_contained=True,
- #encrypted_advice_attributes=True,
pefim=True
)
@@ -900,7 +895,6 @@ class TestServer1():
sign_assertion=False,
encrypt_assertion=True,
encrypt_assertion_self_contained=True,
- #encrypted_advice_attributes=True,
pefim=True,
encrypt_cert_advice=cert_str_advice,
encrypt_cert_assertion=cert_str_assertion
@@ -935,7 +929,6 @@ class TestServer1():
sign_assertion=False,
encrypt_assertion=True,
encrypt_assertion_self_contained=True,
- #encrypted_advice_attributes=True,
pefim=True
)
@@ -965,7 +958,6 @@ class TestServer1():
sign_assertion=False,
encrypt_assertion=True,
encrypt_assertion_self_contained=True,
- #encrypted_advice_attributes=True,
pefim=True,
encrypt_cert_advice="whatever",
encrypt_cert_assertion="whatever"
@@ -987,7 +979,6 @@ class TestServer1():
sign_assertion=False,
encrypt_assertion=False,
encrypt_assertion_self_contained=True,
- #encrypted_advice_attributes=True,
pefim=True,
encrypt_cert_advice="whatever",
)
@@ -1030,7 +1021,6 @@ class TestServer1():
sign_assertion=False,
encrypt_assertion=True,
encrypt_assertion_self_contained=True,
- #encrypted_advice_attributes=True,
pefim=True,
encrypt_cert_advice="whatever",
encrypt_cert_assertion="whatever"
@@ -1052,7 +1042,6 @@ class TestServer1():
sign_assertion=False,
encrypt_assertion=False,
encrypt_assertion_self_contained=True,
- #encrypted_advice_attributes=True,
pefim=True,
encrypt_cert_advice="whatever",
)
@@ -1095,7 +1084,6 @@ class TestServer1():
sign_assertion=False,
encrypt_assertion=True,
encrypt_assertion_self_contained=True,
- #encrypted_advice_attributes=True,
pefim=True,
)
@@ -1111,7 +1099,6 @@ class TestServer1():
sign_assertion=False,
encrypt_assertion=False,
encrypt_assertion_self_contained=True,
- #encrypted_advice_attributes=True,
pefim=True
)