summaryrefslogtreecommitdiffstats
path: root/tests/integration/saml2/test_03_defederation.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/integration/saml2/test_03_defederation.py')
-rw-r--r--tests/integration/saml2/test_03_defederation.py25
1 files changed, 23 insertions, 2 deletions
diff --git a/tests/integration/saml2/test_03_defederation.py b/tests/integration/saml2/test_03_defederation.py
index 213cf868..593c4fdb 100644
--- a/tests/integration/saml2/test_03_defederation.py
+++ b/tests/integration/saml2/test_03_defederation.py
@@ -9,13 +9,18 @@ fv 1 username fred
fv 1 password fred
submit
url http://localhost:10002
+notfind 'Log on'
+find 'Single Logout'
+find 'Federation Termination'
submit fedterm-redirect
url http://localhost:10002
notfind 'Log on'
find 'Single Logout'
-find 'Federation Termination'
+notfind 'Federation Termination'
go http://localhost:10001
find 'Local Logout'
+find 'Single Logout'
+notfind 'Federation Termination'
''')
def test_sso_defederate_initiated_by_sp_soap():
@@ -27,11 +32,18 @@ fv 1 username fred
fv 1 password fred
submit
url http://localhost:10002
+notfind 'Log on'
+find 'Single Logout'
+find 'Federation Termination'
submit fedterm-soap
url http://localhost:10002
notfind 'Log on'
+find 'Single Logout'
+notfind 'Federation Termination'
go http://localhost:10001
find 'Local Logout'
+find 'Single Logout'
+notfind 'Federation Termination'
''')
@@ -48,13 +60,22 @@ submit fedterm-soap
url http://localhost:10002
notfind 'Log on'
find 'Single Logout'
-find 'Federation Termination'
+notfind 'Federation Termination'
go http://localhost:10001
+find 'Local Logout'
+find 'Single Logout'
+notfind 'Federation Termination'
fv 2 binding SOAP
fv 2 slo 'Single Logout'
submit 'Single Logout'
url http://localhost:10001
find 'Log in'
+notfind 'Single Logout'
+notfind 'Federation termination'
+go http://localhost:10002
+find 'Log on'
+notfind 'Single Logout'
+notfind 'Federation termination'
''')