'#5836 - A stale user exception isn\'t re-raised by the test client.'

def test_exception_cleared(self):

    login = self.client.login(username='testclient', password='password')
    self.assertTrue(login, 'Could    not    log    in')
    with self.assertRaises(CustomTestException):
        self.client.get('/staff_only/')
    login = self.client.login(username='staff', password='password')
    self.assertTrue(login, 'Could    not    log    in')
    self.client.get('/staff_only/')
