source: TI12-security/trunk/NDGSecurity/python/Tests/openidaxtest/openidaxtest/tests/functional/test_hello.py @ 6440

Subversion URL: http://proj.badc.rl.ac.uk/svn/ndg/TI12-security/trunk/NDGSecurity/python/Tests/openidaxtest/openidaxtest/tests/functional/test_hello.py@6440
Revision 6440, 204 bytes checked in by pjkersha, 10 years ago (diff)
  • #1088 Important fix to AuthnRedirectResponseMiddleware? to set redirect ONLY when SSL client authentication has just succeeded in the upstream middleware AuthKitSSLAuthnMiddleware. This bug was causing the browser to redirect to the wrong place following OpenID sign in in the case where the user is already logged into their provider and selects a new relying party to sign into.
    • Improvements to Provider decide page interface: leave out messages about attributes that the provider can't retrieve for the RP. Also included NDG style help icon.
Line 
1from openidaxtest.tests import *
2
3class TestHelloController(TestController):
4
5    def test_index(self):
6        response = self.app.get(url(controller='hello', action='index'))
7        # Test response...
Note: See TracBrowser for help on using the repository browser.