From 21fbfdfe0afd0637747e1399cecc4ed1e41f0b6a Mon Sep 17 00:00:00 2001 From: Frederic Peters Date: Thu, 25 Aug 2005 07:56:15 +0000 Subject: it is no longer possible to add providers with unknown public keys --- python/tests/profiles_tests.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'python') 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() -- cgit