summaryrefslogtreecommitdiffstats
path: root/python
diff options
context:
space:
mode:
authorFrederic Peters <fpeters@entrouvert.com>2005-08-25 07:56:15 +0000
committerFrederic Peters <fpeters@entrouvert.com>2005-08-25 07:56:15 +0000
commit21fbfdfe0afd0637747e1399cecc4ed1e41f0b6a (patch)
tree9bac720aca7dae690a3aac63e0f2dc68bdf52bd0 /python
parentd1327ad5de86b5d2ed0ee461d4ff1fa9bdd88c90 (diff)
downloadlasso-21fbfdfe0afd0637747e1399cecc4ed1e41f0b6a.tar.gz
lasso-21fbfdfe0afd0637747e1399cecc4ed1e41f0b6a.tar.xz
lasso-21fbfdfe0afd0637747e1399cecc4ed1e41f0b6a.zip
it is no longer possible to add providers with unknown public keys
Diffstat (limited to 'python')
-rwxr-xr-xpython/tests/profiles_tests.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/python/tests/profiles_tests.py b/python/tests/profiles_tests.py
index 277819b0..35c2f346 100755
--- a/python/tests/profiles_tests.py
+++ b/python/tests/profiles_tests.py
@@ -67,7 +67,9 @@ class ServerTestCase(unittest.TestCase):
lassoServer = lasso.Server()
lassoServer.addProvider(
- lasso.PROVIDER_ROLE_IDP, os.path.join(dataDir, 'idp1-la/metadata.xml'))
+ lasso.PROVIDER_ROLE_IDP,
+ os.path.join(dataDir, 'idp1-la/metadata.xml'),
+ os.path.join(dataDir, 'idp1-la/public-key.pem'))
dump = lassoServer.dump()
lassoServer2 = lassoServer.newFromDump(dump)
dump2 = lassoServer2.dump()