'Test to see that we can handle login redirection properly'

@skipUnless((settings.FEATURES.get('AUTH_USE_OPENID') and settings.FEATURES.get('AUTH_USE_OPENID_PROVIDER')), 'OpenID    not    enabled')
def test_login_openid_handle_redirection(self):

    response = self._send_bad_redirection_login()
    self.assertEquals(response.status_code, 302)
