diff options
Diffstat (limited to 'tests/idp_test/target_idp.py')
-rwxr-xr-x | tests/idp_test/target_idp.py | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/idp_test/target_idp.py b/tests/idp_test/target_idp.py index 7028eb4d..bafb538d 100755 --- a/tests/idp_test/target_idp.py +++ b/tests/idp_test/target_idp.py @@ -15,20 +15,20 @@ BASE = "http://localhost:8088" metadata = open("./idp/idp.xml").read() info = { - "entity_id": "%s/idp.xml" % BASE, + "entity_id": f"{BASE}/idp.xml", "interaction": [ { - "matches": {"url": "%s/sso/redirect" % BASE, "title": "IDP test login"}, + "matches": {"url": f"{BASE}/sso/redirect", "title": "IDP test login"}, "page-type": "login", "control": {"type": "form", "set": {"login": "roland", "password": "dianakra"}}, }, { - "matches": {"url": "%s/sso/post" % BASE, "title": "IDP test login"}, + "matches": {"url": f"{BASE}/sso/post", "title": "IDP test login"}, "page-type": "login", "control": {"type": "form", "set": {"login": "roland", "password": "dianakra"}}, }, { - "matches": {"url": "%s/sso/redirect" % BASE, "title": "SAML 2.0 POST"}, + "matches": {"url": f"{BASE}/sso/redirect", "title": "SAML 2.0 POST"}, "page-type": "other", "control": { "index": 0, @@ -36,12 +36,12 @@ info = { }, }, { - "matches": {"url": "%s/sso/post" % BASE, "title": "SAML 2.0 POST"}, + "matches": {"url": f"{BASE}/sso/post", "title": "SAML 2.0 POST"}, "page-type": "other", "control": {"index": 0, "type": "form", "set": {}}, }, { - "matches": {"url": "%s/slo/post" % BASE, "title": "SAML 2.0 POST"}, + "matches": {"url": f"{BASE}/slo/post", "title": "SAML 2.0 POST"}, "page-type": "other", "control": {"index": 0, "type": "form", "set": {}}, }, |