'A ``GET`` to the ``disabled`` view'

def test_disabled_view(self):

    response = self.client.get(reverse('userena_disabled', kwargs={'username': 'john'}))
    self.assertEqual(response.status_code, 404)
    u = User.objects.filter(username='john').update(is_active=False)
    response = self.client.get(reverse('userena_disabled', kwargs={'username': 'john'}))
    self.assertEqual(response.status_code, 200)
    self.assertTemplateUsed(response, 'userena/disabled.html')
