summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBenjamin Dauvergne <bdauvergne@entrouvert.com>2010-01-14 16:18:36 +0000
committerBenjamin Dauvergne <bdauvergne@entrouvert.com>2010-01-14 16:18:36 +0000
commitf3d87217f27767d06f3f1e1ba5f7f9cc5fc89ee2 (patch)
tree0ebd6e2f5c4c6a093401e4d89aa1bfc139d4531e
parent020a7583ab3fb66b3a4dff49238401424c7c5978 (diff)
downloadlasso-f3d87217f27767d06f3f1e1ba5f7f9cc5fc89ee2.tar.gz
lasso-f3d87217f27767d06f3f1e1ba5f7f9cc5fc89ee2.tar.xz
lasso-f3d87217f27767d06f3f1e1ba5f7f9cc5fc89ee2.zip
Tests integration: remove save_html hooks, after fed termination logout button should still be there
-rw-r--r--tests/integration/saml2/test_02_slo.py1
-rw-r--r--tests/integration/saml2/test_03_defederation.py12
2 files changed, 7 insertions, 6 deletions
diff --git a/tests/integration/saml2/test_02_slo.py b/tests/integration/saml2/test_02_slo.py
index 9a07a28b..f7d68108 100644
--- a/tests/integration/saml2/test_02_slo.py
+++ b/tests/integration/saml2/test_02_slo.py
@@ -44,7 +44,6 @@ fv 1 password fred
submit
url http://localhost:10002
go http://localhost:10001
-save_html /tmp/a1.html
fv 2 slo 'Single Logout'
submit 'Single Logout'
url http://localhost:10001
diff --git a/tests/integration/saml2/test_03_defederation.py b/tests/integration/saml2/test_03_defederation.py
index 9c48c242..213cf868 100644
--- a/tests/integration/saml2/test_03_defederation.py
+++ b/tests/integration/saml2/test_03_defederation.py
@@ -11,9 +11,10 @@ submit
url http://localhost:10002
submit fedterm-redirect
url http://localhost:10002
-find 'Log on'
+notfind 'Log on'
+find 'Single Logout'
+find 'Federation Termination'
go http://localhost:10001
-save_html /tmp/a.html
find 'Local Logout'
''')
@@ -28,9 +29,8 @@ submit
url http://localhost:10002
submit fedterm-soap
url http://localhost:10002
-find 'Log on'
+notfind 'Log on'
go http://localhost:10001
-save_html /tmp/b.html
find 'Local Logout'
''')
@@ -46,7 +46,9 @@ submit
url http://localhost:10002
submit fedterm-soap
url http://localhost:10002
-find 'Log on'
+notfind 'Log on'
+find 'Single Logout'
+find 'Federation Termination'
go http://localhost:10001
fv 2 binding SOAP
fv 2 slo 'Single Logout'