summaryrefslogtreecommitdiffstats
path: root/python/tests/profiles_tests.py
diff options
context:
space:
mode:
authorEmmanuel Raviart <eraviart@entrouvert.com>2004-09-29 22:08:53 +0000
committerEmmanuel Raviart <eraviart@entrouvert.com>2004-09-29 22:08:53 +0000
commitc8a821afef28d840ea54fca549c01b437101ae34 (patch)
tree13ca16f3dbd465d335dfdbe3afb522102778d9ae /python/tests/profiles_tests.py
parent54ec0c541d41b7f1512bd252fa0b5dfffdb86a04 (diff)
downloadlasso-c8a821afef28d840ea54fca549c01b437101ae34.tar.gz
lasso-c8a821afef28d840ea54fca549c01b437101ae34.tar.xz
lasso-c8a821afef28d840ea54fca549c01b437101ae34.zip
Updates Python tests to new Lasso API.
Diffstat (limited to 'python/tests/profiles_tests.py')
-rwxr-xr-xpython/tests/profiles_tests.py40
1 files changed, 16 insertions, 24 deletions
diff --git a/python/tests/profiles_tests.py b/python/tests/profiles_tests.py
index bfbbd79e..9607a7e1 100755
--- a/python/tests/profiles_tests.py
+++ b/python/tests/profiles_tests.py
@@ -48,10 +48,9 @@ class ServerTestCase(unittest.TestCase):
lassoServer = lasso.Server(
os.path.join(dataDir, 'sp1-la/metadata.xml'),
- None, # os.path.join(dataDir, 'sp1-la/public-key.pem') is no more used
os.path.join(dataDir, 'sp1-la/private-key-raw.pem'),
- os.path.join(dataDir, 'sp1-la/certificate.pem'),
- lasso.signatureMethodRsaSha1)
+ None,
+ os.path.join(dataDir, 'sp1-la/certificate.pem'))
lassoServer.addProvider(
os.path.join(dataDir, 'idp1-la/metadata.xml'),
os.path.join(dataDir, 'idp1-la/public-key.pem'),
@@ -78,10 +77,9 @@ class LoginTestCase(unittest.TestCase):
lassoServer = lasso.Server(
os.path.join(dataDir, 'sp1-la/metadata.xml'),
- None, # os.path.join(dataDir, 'sp1-la/public-key.pem') is no more used
os.path.join(dataDir, 'sp1-la/private-key-raw.pem'),
- os.path.join(dataDir, 'sp1-la/certificate.pem'),
- lasso.signatureMethodRsaSha1)
+ None,
+ os.path.join(dataDir, 'sp1-la/certificate.pem'))
lassoServer.addProvider(
os.path.join(dataDir, 'idp1-la/metadata.xml'),
os.path.join(dataDir, 'idp1-la/public-key.pem'),
@@ -98,10 +96,9 @@ class LogoutTestCase(unittest.TestCase):
lassoServer = lasso.Server(
os.path.join(dataDir, 'sp1-la/metadata.xml'),
- None, # os.path.join(dataDir, 'sp1-la/public-key.pem') is no more used
os.path.join(dataDir, 'sp1-la/private-key-raw.pem'),
- os.path.join(dataDir, 'sp1-la/certificate.pem'),
- lasso.signatureMethodRsaSha1)
+ None,
+ os.path.join(dataDir, 'sp1-la/certificate.pem'))
lassoServer.addProvider(
os.path.join(dataDir, 'idp1-la/metadata.xml'),
os.path.join(dataDir, 'idp1-la/public-key.pem'),
@@ -120,10 +117,9 @@ class LogoutTestCase(unittest.TestCase):
lassoServer = lasso.Server(
os.path.join(dataDir, 'idp1-la/metadata.xml'),
- None, # os.path.join(dataDir, 'idp1-la/public-key.pem') is no more used
os.path.join(dataDir, 'idp1-la/private-key-raw.pem'),
- os.path.join(dataDir, 'idp1-la/certificate.pem'),
- lasso.signatureMethodRsaSha1)
+ None,
+ os.path.join(dataDir, 'idp1-la/certificate.pem'))
lassoServer.addProvider(
os.path.join(dataDir, 'sp1-la/metadata.xml'),
os.path.join(dataDir, 'sp1-la/public-key.pem'),
@@ -136,10 +132,9 @@ class LogoutTestCase(unittest.TestCase):
lassoServer = lasso.Server(
os.path.join(dataDir, 'idp1-la/metadata.xml'),
- None, # os.path.join(dataDir, 'idp1-la/public-key.pem') is no more used
os.path.join(dataDir, 'idp1-la/private-key-raw.pem'),
- os.path.join(dataDir, 'idp1-la/certificate.pem'),
- lasso.signatureMethodRsaSha1)
+ None,
+ os.path.join(dataDir, 'idp1-la/certificate.pem'))
lassoServer.addProvider(
os.path.join(dataDir, 'sp1-la/metadata.xml'),
os.path.join(dataDir, 'sp1-la/public-key.pem'),
@@ -158,10 +153,9 @@ class LogoutTestCase(unittest.TestCase):
lassoServer = lasso.Server(
os.path.join(dataDir, 'idp1-la/metadata.xml'),
- None, # os.path.join(dataDir, 'idp1-la/public-key.pem') is no more used
os.path.join(dataDir, 'idp1-la/private-key-raw.pem'),
- os.path.join(dataDir, 'idp1-la/certificate.pem'),
- lasso.signatureMethodRsaSha1)
+ None,
+ os.path.join(dataDir, 'idp1-la/certificate.pem'))
lassoServer.addProvider(
os.path.join(dataDir, 'sp1-la/metadata.xml'),
os.path.join(dataDir, 'sp1-la/public-key.pem'),
@@ -180,10 +174,9 @@ class LogoutTestCase(unittest.TestCase):
lassoServer = lasso.Server(
os.path.join(dataDir, 'idp1-la/metadata.xml'),
- None, # os.path.join(dataDir, 'idp1-la/public-key.pem') is no more used
os.path.join(dataDir, 'idp1-la/private-key-raw.pem'),
- os.path.join(dataDir, 'idp1-la/certificate.pem'),
- lasso.signatureMethodRsaSha1)
+ None,
+ os.path.join(dataDir, 'idp1-la/certificate.pem'))
lassoServer.addProvider(
os.path.join(dataDir, 'sp1-la/metadata.xml'),
os.path.join(dataDir, 'sp1-la/public-key.pem'),
@@ -196,10 +189,9 @@ class DefederationTestCase(unittest.TestCase):
lassoServer = lasso.Server(
os.path.join(dataDir, 'idp1-la/metadata.xml'),
- None, # os.path.join(dataDir, 'idp1-la/public-key.pem') is no more used
os.path.join(dataDir, 'idp1-la/private-key-raw.pem'),
- os.path.join(dataDir, 'idp1-la/certificate.pem'),
- lasso.signatureMethodRsaSha1)
+ None,
+ os.path.join(dataDir, 'idp1-la/certificate.pem'))
lassoServer.addProvider(
os.path.join(dataDir, 'sp1-la/metadata.xml'),
os.path.join(dataDir, 'sp1-la/public-key.pem'),