'A ``POST`` from a inactive user'

def test_signin_view_inactive(self):

    user = User.objects.get(email='john@example.com')
    user.is_active = False
    user.save()
    response = self.client.post(reverse('userena_signin'), data={'identification': 'john@example.com', 'password': 'blowfish'})
    self.assertRedirects(response, reverse('userena_disabled', kwargs={'username': user.username}))
