def METHOD_NAME(self):
    """Marking a thread locked via a GET instead of a POST request."""
    response = get(
        self.client, "wiki.discuss.lock_thread", args=[self.doc.slug, self.thread.id]
    )
    self.assertEqual(405, response.status_code)