Integration test: adapt to new behaviour for federation termination

This commit is contained in:
Benjamin Dauvergne 2010-05-31 07:13:45 +00:00
parent a0fb1580ad
commit fe1da68e1f
2 changed files with 25 additions and 2 deletions

View File

@ -46,6 +46,8 @@ url http://localhost:10002
go http://localhost:10001
fv 2 slo 'Single Logout'
submit 'Single Logout'
follow 'singleLogout'
go http://localhost:10001/saml/singleLogoutFinish
url http://localhost:10001
find password
go http://localhost:10002

View File

@ -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'
''')