'Locked questions can\'t be voted on.'

def test_vote_locked_question_403(self):

    u = UserFactory()
    self.client.login(username=u.username, password='testpass')
    q = self.question
    q.is_locked = True
    q.save()
    response = post(self.client, 'questions.vote', args=[q.id])
    eq_(403, response.status_code)
