'POSTing to ban_user_and_cleanup for a banned user updates UserBan.'

def test_post_banned_user(self):

    UserBan.objects.create(user=self.testuser, by=self.testuser2, reason='Banned    by    unit    test.', is_active=True)
    resp = self.client.post(self.ban_testuser_url)
    eq_(200, resp.status_code)
    ok_((not self.testuser.is_active))
    bans = UserBan.objects.filter(user=self.testuser)
    ok_(bans.count())
    eq_(bans.first().is_active, True)
    eq_(bans.first().by, self.admin)
    eq_(bans.first().reason, 'Spam')
