tests: fix reference to idp metadata in saml tests

This commit is contained in:
Frédéric Péters 2014-12-29 11:25:43 +01:00
parent 197a6a1052
commit 41b77e7c74
1 changed files with 2 additions and 1 deletions

View File

@ -89,7 +89,8 @@ def test_login():
assert req.response.headers['location'].startswith('http://sso.example.net/saml2/sso?SAMLRequest')
def get_authn_response_msg():
idp_metadata_filepath = os.path.join(os.path.dirname(__file__), 'data', 'saml2-idp-metadata.xml')
idp_metadata_filepath = os.path.join(pub.app_dir,
'idp-http-sso.example.net-saml2-metadata-metadata.xml')
idp_key_filepath = os.path.join(pub.app_dir,
'idp-http-sso.example.net-saml2-metadata-privatekey.pem')
idp = lasso.Server(idp_metadata_filepath, idp_key_filepath, None, None)