From f3d87217f27767d06f3f1e1ba5f7f9cc5fc89ee2 Mon Sep 17 00:00:00 2001 From: Benjamin Dauvergne Date: Thu, 14 Jan 2010 16:18:36 +0000 Subject: [PATCH] Tests integration: remove save_html hooks, after fed termination logout button should still be there --- tests/integration/saml2/test_02_slo.py | 1 - tests/integration/saml2/test_03_defederation.py | 12 +++++++----- 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'