'POSTing to the ban_user_and_cleanup bans user for "spam" reason.'

def test_post_bans_user(self):

    resp = self.client.post(self.ban_testuser_url)
    eq_(200, resp.status_code)
    testuser_banned = self.user_model.objects.get(username='testuser')
    ok_((not testuser_banned.is_active))
    bans = UserBan.objects.filter(user=self.testuser, by=self.admin, reason='Spam')
    ok_(bans.count())
