'Marking a thread locked via a GET instead of a POST request.'

def test_locked_thread_405(self):

    t = ThreadFactory()
    u = UserFactory()
    self.client.login(username=u.username, password='testpass')
    response = get(self.client, 'forums.lock_thread', args=[t.forum.slug, t.id])
    eq_(405, response.status_code)
