source: TI12-security/trunk/python/ndg.security.test/ndg/security/test/unit/nosetests.py @ 5292

Subversion URL: http://proj.badc.rl.ac.uk/svn/ndg/TI12-security/trunk/python/ndg.security.test/ndg/security/test/unit/nosetests.py@5292
Revision 5292, 363 bytes checked in by pjkersha, 11 years ago (diff)

Fix to ndg.security.server.wsgi.authn.AuthenticationRedirectMiddleware?: when user is authenticated return next app in stack rather raising 403 response. 403 is not needed here in order to activate the authorisation middleware. The latter can trigger itself.

RevLine 
[4328]1#/usr/bin/env python
[4131]2'''
[4667]3Suite to wrap all granulator test cases
[4131]4
[4328]5NERC Data Grid Project
6
7"""
8__author__ = "C Byrom"
9__date__ = "01/06/08"
[4770]10__copyright__ = "(C) 2009 Science and Technology Facilities Council"
[5292]11__license__ = "BSD - see top level directory for license file"
[4404]12__contact__ = "Philip.Kershaw@stfc.ac.uk"
[4328]13__revision__ = "$Id$"
[4131]14'''
15import nose
[4667]16nose.main()
Note: See TracBrowser for help on using the repository browser.