tests: fix reference to idp metadata in saml tests
This commit is contained in:
parent
197a6a1052
commit
41b77e7c74
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue